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]
|
what = event.arguments()[0]
|
||||||
admin_unlocked = False
|
admin_unlocked = False
|
||||||
|
|
||||||
|
# privmsg
|
||||||
|
if replypath == connection.get_nickname():
|
||||||
|
replypath = nick
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if userhost == self.config.get('dr.botzo', 'admin_userhost'):
|
if userhost == self.config.get('dr.botzo', 'admin_userhost'):
|
||||||
admin_unlocked = True
|
admin_unlocked = True
|
||||||
|
|
Loading…
Reference in New Issue