From: Giuseppe Bilotta Date: Wed, 28 Jun 2006 21:53:40 +0000 (+0000) Subject: Better workaround for ticket #58; now the {{{names}}} delegationg passes on the chann... X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=1df6e0187b130b4b957aa38359ac366c02cba47f;hp=849a727c9f1334c5b5e31b76e52a9cc07009e588;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git Better workaround for ticket #58; now the {{{names}}} delegationg passes on the channel and user list --- 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]}"