mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Forgot to change an IndexError to a ValueError.
This commit is contained in:
parent
60c00549e1
commit
31b1abaa59
@ -82,7 +82,7 @@ def addressed(nick, msg):
|
||||
return rest
|
||||
else:
|
||||
return ''
|
||||
except IndexError:
|
||||
except ValueError: # split didn't work.
|
||||
return ''
|
||||
elif msg.args[1] and msg.args[1][0] in conf.prefixChars:
|
||||
return msg.args[1][1:].strip()
|
||||
|
Loading…
Reference in New Issue
Block a user