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

If you use finduser(), and then use the result, it helps if you actually finduser() to a pointer to save the result, doh. Thanks to DP!

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2096 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rburchell
2009-02-16 18:58:44 +00:00
parent 771eb5cf1f
commit ea45d96968
+1 -1
View File
@@ -1111,7 +1111,7 @@ int delnick(NickAlias * na)
/* Second thing to do: look for an user using the alias
* being deleted, and make appropriate changes */
if (finduser(na->nick))
if (u = finduser(na->nick))
{
if (ircd->modeonunreg)
common_svsmode(finduser(na->nick), ircd->modeonunreg, "1");