Fix #(de)voice/#(de)op without arguments
This commit is contained in:
parent
bd097631ff
commit
49a485c347
|
@ -118,7 +118,7 @@ loadtrusted()
|
||||||
loadgods()
|
loadgods()
|
||||||
|
|
||||||
def chmode(irc, chan, nick, mode, args):
|
def chmode(irc, chan, nick, mode, args):
|
||||||
if args == []:
|
if args == ['']:
|
||||||
if isauthorized(irc, nick):
|
if isauthorized(irc, nick):
|
||||||
irc.send('MODE %s %s %s'%(chan,mode,nick))
|
irc.send('MODE %s %s %s'%(chan,mode,nick))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue