summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-03-08 14:44:23 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-03-08 14:44:23 +0100
commit53c82a94714e439c63a65fccdaf2512383cffb7a (patch)
tree9c66ce589049768dea18050673363fba643fbf3a
parent8893bf66c0aa6f2bbf2e2941f7be82486fecdb46 (diff)
Fix typo in previous patch
My fault for not finding it in review
-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