From 52e170020ef3d1da8eea00247b2d8593e11e3b77 Mon Sep 17 00:00:00 2001 From: Nathan Blaney Date: Tue, 6 Aug 2013 20:31:06 +1000 Subject: [PATCH] Language Fix in op.py Instead of "Attempting to Cyprezz quiet in #cloudbot..." it will be "Attempting to quiet Cyprezz in #cloudbot..." --- plugins/op.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/op.py b/plugins/op.py index e7a5ed7..b1fb8ad 100755 --- a/plugins/op.py +++ b/plugins/op.py @@ -7,12 +7,12 @@ def mode_cmd(mode, text, inp, chan, conn, notice): if split[0].startswith("#"): channel = split[0] target = split[1] - notice("Attempting to {} {} in {}...".format(target, text, channel)) + notice("Attempting to {} {} in {}...".format(text, target, channel)) conn.send("MODE {} {} {}".format(channel, mode, target)) else: channel = chan target = split[0] - notice("Attempting to {} {} in {}...".format(target, text, channel)) + notice("Attempting to {} {} in {}...".format(text, target, channel)) conn.send("MODE {} {} {}".format(channel, mode, target)) @hook.command(permissions=["op_ban", "op"]) @@ -118,4 +118,4 @@ def kick(inp, chan=None, conn=None, notice=None): out = "KICK {} {}".format(channel, target) notice("Attempting to kick {} from {}...".format(target, channel)) - conn.send(out) \ No newline at end of file + conn.send(out)