mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-30 23:09:23 +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>
|
"""<username> <password>
|
||||||
|
|
||||||
Logs in to PyLink using the configured administrator account."""
|
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. '
|
irc.reply('Error: This command must be sent in private. '
|
||||||
'(Would you really type a password inside a channel?)')
|
'(Would you really type a password inside a channel?)')
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user