1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 11:56:38 +02:00

fixed segfault on /nickserv logout <nick>

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2351 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
DukePyrolator
2009-07-01 17:59:42 +00:00
parent d81068abc4
commit da8ccdad19
+1 -1
View File
@@ -43,7 +43,7 @@ class CommandNSLogout : public Command
else
notice_lang(s_NickServ, u, NICK_NOT_REGISTERED);
}
else if (nick && !u2->nc->IsServicesOper())
else if (nick && u2->nc && !u2->nc->IsServicesOper())
notice_lang(s_NickServ, u, NICK_LOGOUT_SERVICESADMIN, nick);
else
{