mirror of
https://github.com/anope/anope.git
synced 2026-07-05 07:13:13 +02:00
Fix session user logoff hook
This commit is contained in:
@@ -728,7 +728,7 @@ class OSSession : public Module
|
||||
}
|
||||
}
|
||||
|
||||
void OnUserQuit(User *u, const Anope::string &msg) anope_override
|
||||
void OnPreUserLogoff(User *u) anope_override
|
||||
{
|
||||
if (!session_limit || !u->server || u->server->IsULined())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user