summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/ircsocket.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/ircsocket.rb b/lib/rbot/ircsocket.rb
index 7c0253a5..652b1f6d 100644
--- a/lib/rbot/ircsocket.rb
+++ b/lib/rbot/ircsocket.rb
@@ -48,7 +48,7 @@ class ::String
dests = pars.split($;,2).first
penalty += dests.split(',').size
when :WHO
- args = parts.split
+ args = pars.split
if args.length > 0
penalty += args.inject(0){ |sum,x| sum += ((x.length > 4) ? 3 : 5) }
else