Fix #(de)voice/#(de)op without arguments

This commit is contained in:
Juhani Haverinen 2015-02-28 15:58:40 +02:00
parent bd097631ff
commit 49a485c347
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ loadtrusted()
loadgods()
def chmode(irc, chan, nick, mode, args):
if args == []:
if args == ['']:
if isauthorized(irc, nick):
irc.send('MODE %s %s %s'%(chan,mode,nick))
else: