From 4711e227f44dcce81363f0d061fc2cbd3db25ab6 Mon Sep 17 00:00:00 2001 From: Daniel DiPaolo Date: Sat, 8 Nov 2003 03:16:24 +0000 Subject: [PATCH] Fixed a few more metacharacter DoS bugs. --- plugins/Unix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Unix.py b/plugins/Unix.py index babaabf2f..ff759402c 100644 --- a/plugins/Unix.py +++ b/plugins/Unix.py @@ -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: