From a08b4def5c276df964ae2a8d9c3f661593d757e6 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Sat, 16 Jul 2005 01:18:13 +0000 Subject: various fixes by me, plus most of Rene's patch (#1). --- rbot/plugins/spell.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rbot/plugins/spell.rb') diff --git a/rbot/plugins/spell.rb b/rbot/plugins/spell.rb index eb80a48d..81ee1ac6 100644 --- a/rbot/plugins/spell.rb +++ b/rbot/plugins/spell.rb @@ -3,7 +3,7 @@ class SpellPlugin < Plugin "spell => check spelling of , suggest alternatives" end def privmsg(m) - unless(m.params && m.params =~ /^\w+$/) + unless(m.params && m.params =~ /^\S+$/) m.reply "incorrect usage: " + help(m.plugin) return end -- cgit v1.2.3