diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-16 12:56:58 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-16 12:56:58 +0000 |
commit | 89ab54f0d732c8bc14d28a83f011cf5a0d683710 (patch) | |
tree | 5f8f592ca90fac17bcd5b2c2e279eafdaa255318 /src | |
parent | 80de50711e88bf73c680a82bd22db58a6ac25265 (diff) |
Another segfault found by DP :P
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2091 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/nickserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nickserv.c b/src/nickserv.c index 92a91a6b3..e1fe3fae9 100644 --- a/src/nickserv.c +++ b/src/nickserv.c @@ -1115,6 +1115,7 @@ int delnick(NickAlias * na) { if (ircd->modeonunreg) common_svsmode(finduser(na->nick), ircd->modeonunreg, "1"); + u->nc = NULL; } delHostCore(na->nick); /* delete any vHost's for this nick */ @@ -1129,7 +1130,6 @@ int delnick(NickAlias * na) if (!delcore(na->nc)) return 0; na->nc = NULL; - u->nc = NULL; } else { |