From 66c43af84e74f9b9f39d9d7bc892f7004e9f37a7 Mon Sep 17 00:00:00 2001 From: lukeroge Date: Thu, 29 Mar 2012 11:07:41 +1300 Subject: [PATCH] Switched to a faster method of printing the channel list (hah, I bet this will confuse python beginners) --- plugins/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin.py b/plugins/admin.py index 6251510..2b88d12 100755 --- a/plugins/admin.py +++ b/plugins/admin.py @@ -17,7 +17,7 @@ def admins(inp, bot=None): @hook.command(autohelp=False) def channels(inp, conn=None): ".channels -- Lists the channels that the bot is in." - return "I am in these channels: " + ", ".join(conn.channels) + return "I am in these channels: %s" % ", ".join(conn.channels) @hook.command(autohelp=False, adminonly=True)