mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-03 01:39:23 +01:00
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
Block a user