1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 21:43:13 +02:00

Allow userless command sources

This commit is contained in:
Adam
2012-06-18 05:04:30 -04:00
parent 873d4287de
commit 2dec8e767a
153 changed files with 1029 additions and 1060 deletions
+4 -1
View File
@@ -264,7 +264,10 @@ class NSIdentifyLDAP : public Module
if (c == NULL || source == NULL || !this->ldap)
return EVENT_CONTINUE;
User *u = source->u;
User *u = source->GetUser();
if (!u)
return EVENT_CONTINUE;
if (u->HasExt("m_ldap_authentication_authenticated"))
{
u->Shrink("m_ldap_authentication_authenticated");