mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-11 20:52:42 +01:00
opercmds: alias 'trace' to checkban
This commit is contained in:
parent
390b7a327a
commit
5c9639b4a9
@ -66,7 +66,7 @@ def checkban(irc, source, args, use_regex=False):
|
|||||||
irc.reply('Yes, \x02%s\x02 matches \x02%s\x02.' % (args.target, args.banmask))
|
irc.reply('Yes, \x02%s\x02 matches \x02%s\x02.' % (args.target, args.banmask))
|
||||||
else:
|
else:
|
||||||
irc.reply('No, \x02%s\x02 does not match \x02%s\x02.' % (args.target, args.banmask))
|
irc.reply('No, \x02%s\x02 does not match \x02%s\x02.' % (args.target, args.banmask))
|
||||||
utils.add_cmd(checkban, aliases=('cban',))
|
utils.add_cmd(checkban, aliases=('cban', 'trace'))
|
||||||
|
|
||||||
def checkbanre(irc, source, args):
|
def checkbanre(irc, source, args):
|
||||||
"""<regular expression> [<target nick or hostmask>] [--channel #channel] [--maxresults <num>]
|
"""<regular expression> [<target nick or hostmask>] [--channel #channel] [--maxresults <num>]
|
||||||
|
Loading…
Reference in New Issue
Block a user