From 516940630c9ab9fc27d3649ca1f0b8ebe9b9cf9e Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Fri, 7 Jan 2011 21:14:14 -0600 Subject: [PATCH] hack the replypath to the sender, if we're handling a privmsg --- DrBotIRC.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DrBotIRC.py b/DrBotIRC.py index e440530..45e4686 100644 --- a/DrBotIRC.py +++ b/DrBotIRC.py @@ -94,6 +94,10 @@ class DrBotIRC(irclib.IRC): what = event.arguments()[0] admin_unlocked = False + # privmsg + if replypath == connection.get_nickname(): + replypath = nick + try: if userhost == self.config.get('dr.botzo', 'admin_userhost'): admin_unlocked = True