From 1df6e0187b130b4b957aa38359ac366c02cba47f Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 28 Jun 2006 21:53:40 +0000 Subject: [PATCH 1/1] Better workaround for ticket #58; now the {{{names}}} delegationg passes on the channel and user list --- lib/rbot/ircbot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb index eb194e68..e88929fe 100644 --- a/lib/rbot/ircbot.rb +++ b/lib/rbot/ircbot.rb @@ -302,7 +302,7 @@ class IrcBot users.each {|u| @channels[channel].users[u[0].sub(/^[@&~+]/, '')] = ["mode", u[1]] } - @plugins.delegate "names" + @plugins.delegate "names", data[:channel], data[:users] } @client[:unknown] = proc {|data| #debug "UNKNOWN: #{data[:serverstring]}" -- 2.39.2