diff options
author | Dmitry Kim <dmitry point kim at gmail point com> | 2007-10-31 19:40:34 +0000 |
---|---|---|
committer | Dmitry Kim <dmitry point kim at gmail point com> | 2007-10-31 19:40:34 +0000 |
commit | 4a064fbe3e95e4e6bac6e7a3c2e38d4bbb9f5f87 (patch) | |
tree | 2682f32712254f55dc00803fecefd3bff45b8e6e /data/rbot | |
parent | 3a085ac7a0a3be24fe097e7284970fc7c48f57f0 (diff) |
* (plugins/usermodes) connect() accepts no arguments
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/usermodes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/usermodes.rb b/data/rbot/plugins/usermodes.rb index 99167569..bc85f8f4 100644 --- a/data/rbot/plugins/usermodes.rb +++ b/data/rbot/plugins/usermodes.rb @@ -17,7 +17,7 @@ class UserModesPlugin < Plugin "handles automatic usermode settings on connect. See the config variable irc.usermodes" end - def connect(m) + def connect modes = @bot.config['irc.usermodes'] @bot.mode(@bot.nick, modes, '') unless modes.empty? end |