Browse Source

use mode +o instead of /cs op

master
jcao219 14 years ago
parent
commit
a37844880b
  1. 4
      wolfgame.py

4
wolfgame.py

@ -207,7 +207,7 @@ def give_op(cli, nick, chan, rest): @@ -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): @@ -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)

Loading…
Cancel
Save