hack the replypath to the sender, if we're handling a privmsg
This commit is contained in:
parent
fc2814e57c
commit
516940630c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user