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:
+1
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user