use mode +o instead of /cs op

This commit is contained in:
Jimmy Cao 2011-07-27 18:36:51 -05:00
parent c7c0690c20
commit dcda60012d

View File

@ -207,7 +207,7 @@ def give_op(cli, nick, chan, rest):
a = a.strip()
if not a:
continue
cli.msg("ChanServ", " ".join(("op",chan,a)))
cli.mode(chan, "+o", a)
@ -227,7 +227,7 @@ def take_op(cli, nick, chan, rest):
a = a.strip()
if not a:
continue
cli.msg("ChanServ", " ".join(("deop",chan,a)))
cli.mode(chan, "-o", a)