mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
corecommands: fix no-identify-in-channel logic
This commit is contained in:
parent
0c8397e940
commit
b79f391be6
@ -21,7 +21,7 @@ def identify(irc, source, args):
|
||||
"""<username> <password>
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user