From a37844880bc693ad21e68711d3ecd51b255dd26a Mon Sep 17 00:00:00 2001 From: jcao219 Date: Wed, 27 Jul 2011 18:36:51 -0500 Subject: [PATCH] use mode +o instead of /cs op --- wolfgame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfgame.py b/wolfgame.py index 69382de..33c6c43 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -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)