From 53c82a94714e439c63a65fccdaf2512383cffb7a Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 8 Mar 2010 14:44:23 +0100 Subject: Fix typo in previous patch My fault for not finding it in review --- lib/rbot/ircsocket.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3