summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-06-28 21:53:40 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-06-28 21:53:40 +0000
commit1df6e0187b130b4b957aa38359ac366c02cba47f (patch)
tree92114bb9b2ce5855ef0a3a130eaa87b72c79554a
parent849a727c9f1334c5b5e31b76e52a9cc07009e588 (diff)
Better workaround for ticket #58; now the {{{names}}} delegationg passes on the channel and user list
-rw-r--r--lib/rbot/ircbot.rb2
1 files changed, 1 insertions, 1 deletions
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]}"