Treat a QUIT
from hostmask :*
as referring to our connection (line_handler.py)
This commit is contained in:
parent
ffdf49efc9
commit
71eac9d3c0
1 changed files with 2 additions and 1 deletions
|
@ -272,7 +272,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
def quit(self, event):
|
def quit(self, event):
|
||||||
reason = event["args"].get(0)
|
reason = event["args"].get(0)
|
||||||
|
|
||||||
if not event["server"].is_own_nickname(event["prefix"].nickname):
|
if (not event["server"].is_own_nickname(event["prefix"].nickname) and
|
||||||
|
not event["prefix"].hostmask == "*"):
|
||||||
user = event["server"].get_user(event["prefix"].nickname)
|
user = event["server"].get_user(event["prefix"].nickname)
|
||||||
event["server"].remove_user(user)
|
event["server"].remove_user(user)
|
||||||
self._event(event, "quit", reason=reason, user=user,
|
self._event(event, "quit", reason=reason, user=user,
|
||||||
|
|
Loading…
Reference in a new issue