Small fixes
This commit is contained in:
@ -79,7 +79,6 @@ class Encyclopedia(callbacks.PluginRegexp):
|
||||
return False
|
||||
for c in irc.callbacks:
|
||||
comm = msg.args[1].split()[0]
|
||||
print c.isDisabled(comm)
|
||||
if c.isCommandMethod(comm) and not c.isDisabled(comm):
|
||||
return False
|
||||
if capability:
|
||||
|
@ -7,7 +7,7 @@ import random, re, time, commands, urllib2
|
||||
import supybot.ircmsgs as ircmsgs
|
||||
|
||||
_bofhfile = '/home/dennis/ubugtu/plugins/Mess/bofh.txt'
|
||||
_bofhdata = open(bofhfile).readlines()
|
||||
_bofhdata = [x.strip() for x in open(_bofhfile).readlines()]
|
||||
|
||||
class Mess(callbacks.PluginRegexp):
|
||||
"""Random Mess plugin"""
|
||||
|
Reference in New Issue
Block a user