mirror of https://github.com/Mikaela/Limnoria.git
Fixed a few more metacharacter DoS bugs.
This commit is contained in:
parent
e5249c859d
commit
4711e227f4
|
@ -170,7 +170,7 @@ class Unix(callbacks.Privmsg):
|
|||
"""
|
||||
# We are only checking the first word
|
||||
word = privmsgs.getArgs(args)
|
||||
if word and word[0] in '*&@+-~#!%^':
|
||||
if word and word[0] in '.?*&@+-~#!%^':
|
||||
irc.error(msg, 'Initial spell metacharacters aren\'t allowed.')
|
||||
return
|
||||
if ' ' in word:
|
||||
|
|
Loading…
Reference in New Issue