From b79f391be6eb45dfe387af143212f53aa00d94c2 Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 13 Jul 2016 19:32:39 -0700 Subject: [PATCH] corecommands: fix no-identify-in-channel logic --- coremods/corecommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coremods/corecommands.py b/coremods/corecommands.py index 26eb0d5..b372a9b 100644 --- a/coremods/corecommands.py +++ b/coremods/corecommands.py @@ -21,7 +21,7 @@ def identify(irc, source, args): """ Logs in to PyLink using the configured administrator account.""" - if utils.isChannel(irc.called_by): + if utils.isChannel(irc.called_in): irc.reply('Error: This command must be sent in private. ' '(Would you really type a password inside a channel?)') return