Fixed the namegen plugin

This commit is contained in:
Luke Rogers 2012-02-24 07:50:58 +13:00
parent 3d825f87d3
commit c2f9188ec0

View file

@ -72,9 +72,9 @@ As a module (to be imported) you get the following classes and functions:
__version__ = "1.0"
import string, re, sys, random
import string, re, sys, random, os
NAMEDIR = "/home/ircbot/bot/plugins/util/names"
NAMEDIR = os.path.dirname(__file__) + "/namefiles"
NAMESECTIONS = [ "inf", "first", "mid", "final", "notes", "end" ]
class NameFile: