cleaning leftovers

This commit is contained in:
Ryan Hitchman 2009-03-15 22:51:06 -06:00
parent d560cb90dc
commit d755e4c601
1 changed files with 1 additions and 3 deletions

4
bot.py
View File

@ -16,13 +16,11 @@ import collections
import irc
import yaml
os.chdir(sys.path[0]) #do stuff relative to the installation directory
os.chdir(sys.path[0]) # do stuff relative to the installation directory
sys.path += ['plugins'] # so 'import hook' works without duplication
class Bot(object):
def __init__(self, nick, channel, network):
self.commands = [] # (fn, funcname, name, line), func, args
self.filters = [] #(fn, funcname, line), func
self.nick = nick
self.channel = channel
self.network = network