mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
small cleanups
This commit is contained in:
parent
db111b7a1b
commit
b2dbbe9ef5
@ -254,7 +254,8 @@ class Http(callbacks.Privmsg):
|
||||
s = ', or '.join(defs)
|
||||
irc.reply('%s could be %s' % (acronym, s))
|
||||
|
||||
_netcraftre = re.compile(r'td align="left">\s+<a[^>]+>(.*?)<a href', re.S)
|
||||
_netcraftre = re.compile(r'td align="left">\s+<a[^>]+>(.*?)<a href',
|
||||
re.S | re.I)
|
||||
def netcraft(self, irc, msg, args):
|
||||
"""<hostname|ip>
|
||||
|
||||
|
@ -251,7 +251,6 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
||||
ambiguous commands, mapping the command to the plugins it's
|
||||
available in."""
|
||||
if ambiguousCommands is None:
|
||||
print '***', tokens
|
||||
ambiguousCommands = {}
|
||||
if tokens:
|
||||
command = callbacks.canonicalName(tokens[0])
|
||||
|
Loading…
Reference in New Issue
Block a user