diff options
author | Matthias H <apoc@sixserv.org> | 2015-01-12 11:18:33 +0100 |
---|---|---|
committer | Matthias H <apoc@sixserv.org> | 2015-01-12 11:18:33 +0100 |
commit | 351856db71def8fdfc074c065a84a428b521f9f2 (patch) | |
tree | 48cc20c7461cd1bc6e144dbf8d4f62f94c0fcd65 /lib | |
parent | f9b3074dac517b8c82b5affa8bb53c29b6c43e2e (diff) |
web service: alias web module mixins
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/core/webservice.rb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/rbot/core/webservice.rb b/lib/rbot/core/webservice.rb index 4b58b98e..297771a8 100644 --- a/lib/rbot/core/webservice.rb +++ b/lib/rbot/core/webservice.rb @@ -308,6 +308,16 @@ class Bot web_cleanup end end + + # And just because I like consistency: + # + module WebCoreBotModule + include WebBotModule + end + + module WebPlugin + include WebBotModule + end end end # Bot end # Irc @@ -353,7 +363,7 @@ end class WebServiceModule < CoreBotModule - include WebBotModule + include WebCoreBotModule Config.register Config::BooleanValue.new('webservice.autostart', :default => false, |