mirror of
https://github.com/anope/anope.git
synced 2026-07-03 18:23:14 +02:00
Fix a null pointer dereference in the sasl module.
This commit is contained in:
+1
-1
@@ -302,7 +302,7 @@ public:
|
||||
// If the user is already introduced then we log them in now.
|
||||
// Otherwise, we send an SVSLOGIN to log them in later.
|
||||
User *user = User::Find(session->uid);
|
||||
NickAlias *na = NickAlias::Find(nc->display);
|
||||
NickAlias *na = nc ? NickAlias::Find(nc->display) : nullptr;
|
||||
if (user)
|
||||
{
|
||||
if (na)
|
||||
|
||||
Reference in New Issue
Block a user