diff options
Diffstat (limited to 'data')
-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 |