aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-06-03 05:43:42 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-06-03 05:43:42 +0200
commit2537385b996987db188fe8fb8048e686a1785083 (patch)
treeb61d02c54c49f400bdd9b83daa7a1f5d92ee4c0c
parentlink_source function has been renamed plugin_source. (diff)
downloadrbot-bugzilla-2537385b996987db188fe8fb8048e686a1785083.tar.gz
rbot-bugzilla-2537385b996987db188fe8fb8048e686a1785083.tar.bz2
rbot-bugzilla-2537385b996987db188fe8fb8048e686a1785083.zip
Move plugin_source and plugin_credits at the end of the class.
-rw-r--r--bugzilla.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/bugzilla.rb b/bugzilla.rb
index e013ba6..643bbf8 100644
--- a/bugzilla.rb
+++ b/bugzilla.rb
@@ -558,14 +558,6 @@ class BugzillaPlugin < Plugin
end
end
- def plugin_sources(m, params)
- m.reply "http://www.flameeyes.eu/projects#rbot-bugzilla"
- end
-
- def plugin_credits(m, params)
- m.reply "Copyright (C) 2005-2008 Diego Pettenò. Distributed under Affero General Public License version 3."
- end
-
# Adds announcement for bugs on the given zilla to the channel
#
# When this function is called, the given zilla is added to the list
@@ -632,6 +624,14 @@ class BugzillaPlugin < Plugin
return "no help available for #{plugin} #{topic}"
end
end
+
+ def plugin_sources(m, params)
+ m.reply "http://www.flameeyes.eu/projects#rbot-bugzilla"
+ end
+
+ def plugin_credits(m, params)
+ m.reply "Copyright (C) 2005-2008 Diego Pettenò. Distributed under Affero General Public License version 3."
+ end
end
plugin = BugzillaPlugin.new