From e0c074a725aa52f0b71a770b5b0342bc9d613759 Mon Sep 17 00:00:00 2001 From: dgw Date: Tue, 9 Apr 2019 15:15:47 -0500 Subject: [PATCH] admin: .mode compliance with IRC specs Just like #1544, but in the `admin.py` module instead of coretasks. This was the only relevant occurrence I could find with a search for strings with trailing spaces. Hopefully after this, we're golden. --- sopel/modules/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel/modules/admin.py b/sopel/modules/admin.py index 710b040b55..22fc0f93e6 100644 --- a/sopel/modules/admin.py +++ b/sopel/modules/admin.py @@ -164,7 +164,7 @@ def hold_ground(bot, trigger): def mode(bot, trigger): """Set a user mode on Sopel. Can only be done in privmsg by an admin.""" mode = trigger.group(3) - bot.write(('MODE ', bot.nick + ' ' + mode)) + bot.write(('MODE', bot.nick + ' ' + mode)) @sopel.module.require_privmsg("This command only works as a private message.")