summaryrefslogtreecommitdiff
path: root/rbot/plugins/spell.rb
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-07-16 01:18:13 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-07-16 01:18:13 +0000
commita08b4def5c276df964ae2a8d9c3f661593d757e6 (patch)
treecd563b11ab095bd364036d14bc28fb5fb4c065a8 /rbot/plugins/spell.rb
parent71e16adb8a62a78fc1e8cdcc6776b6cd84fbe758 (diff)
various fixes by me, plus most of Rene's patch (#1).
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