From 6034333682414210564724f039fc617e45b94e71 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 18 Oct 2015 10:09:31 -0700 Subject: [PATCH] commands: actually break when identify is sent in a channel --- plugins/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/commands.py b/plugins/commands.py index 9af2637..1a4dce4 100644 --- a/plugins/commands.py +++ b/plugins/commands.py @@ -32,6 +32,7 @@ def identify(irc, source, args): if utils.isChannel(irc.called_by): irc.msg(irc.called_by, 'Error: This command must be sent in private. ' '(Would you really type a password inside a public channel?)') + return try: username, password = args[0], args[1] except IndexError: