mirror of
https://github.com/anope/anope.git
synced 2026-06-27 10:06:38 +02:00
Check for os_sesion to exist before having defcon try and place session bans
This commit is contained in:
@@ -534,7 +534,7 @@ class OSDefcon : public Module
|
||||
return;
|
||||
}
|
||||
|
||||
if (!DConfig.sessionlimit)
|
||||
if (!DConfig.sessionlimit || !session_service)
|
||||
return;
|
||||
|
||||
Session *session = session_service->FindSession(u->host);
|
||||
|
||||
Reference in New Issue
Block a user