mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19:23 +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))
|
||||
else:
|
||||
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):
|
||||
"""<regular expression> [<target nick or hostmask>] [--channel #channel] [--maxresults <num>]
|
||||
|
Loading…
Reference in New Issue
Block a user