]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/rfc2812.rb
Provide the InvalidPassword exception
[user/henk/code/ruby/rbot.git] / lib / rbot / rfc2812.rb
index 5622dcf8e0ac84e18a721173e3c4e4e70188faa4..e56c76bc6b0d80da54ad53f335c5b704c89ac27b 100644 (file)
@@ -1140,6 +1140,7 @@ module Irc
         data[:message] = argv[0]
         data[:was_on] = @server.channels.inject(ChannelList.new) { |list, ch|
           list << ch if ch.users.include?(data[:source])
+         list
         }
 
         @server.delete_user(data[:source])