diff options
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/ircbot.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb index 51457a56..eb194e68 100644 --- a/lib/rbot/ircbot.rb +++ b/lib/rbot/ircbot.rb @@ -178,6 +178,7 @@ class IrcBot } @client[:nicktaken] = proc { |data| nickchg "#{data[:nick]}_" + @plugins.delegate "nicktaken", data[:nick] } @client[:badnick] = proc {|data| puts "WARNING, bad nick (#{data[:nick]})" @@ -301,6 +302,7 @@ class IrcBot users.each {|u| @channels[channel].users[u[0].sub(/^[@&~+]/, '')] = ["mode", u[1]] } + @plugins.delegate "names" } @client[:unknown] = proc {|data| #debug "UNKNOWN: #{data[:serverstring]}" |