mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
commands: actually break when identify is sent in a channel
This commit is contained in:
parent
d4200424fa
commit
6034333682
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user