mirror of
https://github.com/progval/Limnoria.git
synced 2025-05-01 07:51:06 -05: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
|
return rest
|
||||||
else:
|
else:
|
||||||
return ''
|
return ''
|
||||||
except IndexError:
|
except ValueError: # split didn't work.
|
||||||
return ''
|
return ''
|
||||||
elif msg.args[1] and msg.args[1][0] in conf.prefixChars:
|
elif msg.args[1] and msg.args[1][0] in conf.prefixChars:
|
||||||
return msg.args[1][1:].strip()
|
return msg.args[1][1:].strip()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user