aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-08-06 21:13:31 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-08-06 21:13:31 +0000
commit64df6a1b9d8498d2586af5bce5190830d53ce728 (patch)
tree2942a77272fd473f6b045e6c04fd23c1fc55f0ec
parentAvoid a minor backtrace. (diff)
downloadrbot-bugzilla-64df6a1b9d8498d2586af5bce5190830d53ce728.tar.gz
rbot-bugzilla-64df6a1b9d8498d2586af5bce5190830d53ce728.tar.bz2
rbot-bugzilla-64df6a1b9d8498d2586af5bce5190830d53ce728.zip
lowercase.
-rw-r--r--bugzilla.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/bugzilla.rb b/bugzilla.rb
index 15d36bb..d41b0bd 100644
--- a/bugzilla.rb
+++ b/bugzilla.rb
@@ -517,7 +517,7 @@ class BugzillaPlugin < Plugin
# we have a specific zilla to use for them.
def get_zilla(m)
replyto = nil
- replyto = m.replyto.to_s if m.is_a?(IRC::UserMessage)
+ replyto = m.replyto.to_s if m.is_a?(Irc::UserMessage)
return nil unless replyto
return nil unless @defaults[replyto]
return nil unless @defaults[replyto][:zilla]
@@ -527,7 +527,7 @@ class BugzillaPlugin < Plugin
# Should we be lurking here to watch for bugs?
def lurk?(m)
replyto = nil
- replyto = m.replyto.to_s if m.is_a?(IRC::UserMessage)
+ replyto = m.replyto.to_s if m.is_a?(Irc::UserMessage)
return false unless replyto
return false unless @defaults[replyto]
return true if @defaults[replyto][:eavesdrop]