diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-08-02 20:37:02 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-08-02 20:37:02 +0000 |
commit | eee6a74ea1547b5c0e8757c64cace42fc9aea9bf (patch) | |
tree | 0e21f0b1014a8977a08473eba182f11e3515955c /lib/rbot/plugins.rb | |
parent | 3538de46fb71b69e74106f0056ded7bb9beafd89 (diff) |
Initial factorization of botconfig into kernel functionality and a coremodule
Diffstat (limited to 'lib/rbot/plugins.rb')
-rw-r--r-- | lib/rbot/plugins.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb index 7e98b1b3..ec99fe30 100644 --- a/lib/rbot/plugins.rb +++ b/lib/rbot/plugins.rb @@ -176,7 +176,7 @@ module Plugins # return an identifier for this plugin, defaults to a list of the message # prefixes handled (used for error messages etc) def name - self.class.to_s.downcase.sub(/^#<module:.*?>::/,"").sub(/(plugin)?$/,"") + self.class.to_s.downcase.sub(/^#<module:.*?>::/,"").sub(/(plugin|module)?$/,"") end # just calls name |