mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-12 05:02:32 +01:00
Removed some debugging prints.
This commit is contained in:
parent
ef4bff5571
commit
9453c893a8
@ -183,9 +183,7 @@ class Channel(callbacks.Privmsg):
|
|||||||
channel = privmsgs.getChannel(msg, args)
|
channel = privmsgs.getChannel(msg, args)
|
||||||
(optlist, rest) = getopt.getopt(args, '', ['exact', 'nick',
|
(optlist, rest) = getopt.getopt(args, '', ['exact', 'nick',
|
||||||
'user', 'host'])
|
'user', 'host'])
|
||||||
print 'rest:', rest
|
|
||||||
(bannedNick, length) = privmsgs.getArgs(rest, optional=1)
|
(bannedNick, length) = privmsgs.getArgs(rest, optional=1)
|
||||||
print 'length:', length
|
|
||||||
# Check that they're not trying to make us kickban ourself.
|
# Check that they're not trying to make us kickban ourself.
|
||||||
if not ircutils.isNick(bannedNick):
|
if not ircutils.isNick(bannedNick):
|
||||||
self.log.warning('%r tried to kban a non nick: %r',
|
self.log.warning('%r tried to kban a non nick: %r',
|
||||||
|
Loading…
Reference in New Issue
Block a user