mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-30 07:21:12 -05:00
doAccount fix
This commit is contained in:
parent
c62ae2d058
commit
ee8f0b74df
@ -1965,6 +1965,7 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
|
|||||||
nick = ircutils.nickFromHostmask(msg.prefix)
|
nick = ircutils.nickFromHostmask(msg.prefix)
|
||||||
n = self.getNick(irc,nick)
|
n = self.getNick(irc,nick)
|
||||||
acc = msg.args[0]
|
acc = msg.args[0]
|
||||||
|
old = n.account
|
||||||
if acc == '*':
|
if acc == '*':
|
||||||
acc = None
|
acc = None
|
||||||
n.setAccount(acc)
|
n.setAccount(acc)
|
||||||
@ -2007,6 +2008,7 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
|
|||||||
if not ircutils.isUserHostmask(irc.prefix):
|
if not ircutils.isUserHostmask(irc.prefix):
|
||||||
return
|
return
|
||||||
if targets == irc.nick:
|
if targets == irc.nick:
|
||||||
|
b = False
|
||||||
#b = False
|
#b = False
|
||||||
#if text == 'You are not authorized to perform this operation.':
|
#if text == 'You are not authorized to perform this operation.':
|
||||||
#b = True
|
#b = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user