mirror of https://github.com/Mikaela/Limnoria.git
small cleanups
This commit is contained in:
parent
db111b7a1b
commit
b2dbbe9ef5
|
@ -254,7 +254,8 @@ class Http(callbacks.Privmsg):
|
||||||
s = ', or '.join(defs)
|
s = ', or '.join(defs)
|
||||||
irc.reply('%s could be %s' % (acronym, s))
|
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):
|
def netcraft(self, irc, msg, args):
|
||||||
"""<hostname|ip>
|
"""<hostname|ip>
|
||||||
|
|
||||||
|
|
|
@ -251,7 +251,6 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
||||||
ambiguous commands, mapping the command to the plugins it's
|
ambiguous commands, mapping the command to the plugins it's
|
||||||
available in."""
|
available in."""
|
||||||
if ambiguousCommands is None:
|
if ambiguousCommands is None:
|
||||||
print '***', tokens
|
|
||||||
ambiguousCommands = {}
|
ambiguousCommands = {}
|
||||||
if tokens:
|
if tokens:
|
||||||
command = callbacks.canonicalName(tokens[0])
|
command = callbacks.canonicalName(tokens[0])
|
||||||
|
|
Loading…
Reference in New Issue