diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-06-23 00:42:52 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-06-23 01:11:36 +0200 |
commit | 7c0c7d49240c56124ba0d99a14f6d7156317c499 (patch) | |
tree | 6a0599c414fbda9e3a2f3773810906c2a2afbdfb /lib/rbot | |
parent | 3dd9db1a0e819a0b325476bdde24cbebd29bf548 (diff) |
ircbot.rb: ask about current channel modes on join
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/ircbot.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb index 9aef8408..3cd0cae8 100644 --- a/lib/rbot/ircbot.rb +++ b/lib/rbot/ircbot.rb @@ -671,6 +671,7 @@ class Bot } @client[:join] = proc {|data| m = JoinMessage.new(self, server, data[:source], data[:channel], data[:message]) + sendq("MODE #{data[:channel]}", nil, 0) if m.address? @plugins.irc_delegate("join", m) sendq("WHO #{data[:channel]}", data[:channel], 2) if m.address? } |