summaryrefslogtreecommitdiff
path: root/rbot/plugins/spell.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rbot/plugins/spell.rb')
-rw-r--r--rbot/plugins/spell.rb2
1 files changed, 1 insertions, 1 deletions
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 <word> => check spelling of <word>, 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