summaryrefslogtreecommitdiff
path: root/src/protocol/unreal32.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-30 21:50:32 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-30 21:50:32 +0000
commit85b409df8577e2433724a056564ab62ff72c4c89 (patch)
tree8c94aef81664a17ecff3e7fabc5ccdd29c6749f6 /src/protocol/unreal32.c
parent383629d7185f23f8a365cf56f6d28c8fdc5d15e3 (diff)
Removed NS_IDENTIFIED/NS_RECOGNIZED/NS_ON_ACCESS from na->status, it doesnt belong there anymore and doesnt work. Replaced nick_recognized() with User::IsRecognized() which returns if youre recognized for the nick you are on, not necessarially the account youre logged in for.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2523 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r--src/protocol/unreal32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index 78d888518..2223cd162 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -600,7 +600,7 @@ class UnrealIRCdProto : public IRCDProto
delete [] user->vhost;
user->vhost = NULL;
}
- update_host(user);
+ user->UpdateHost();
break;
default:
break;
@@ -1426,7 +1426,6 @@ int anope_event_userhost(const char *source, int ac, const char **av)
if (u)
{
u->SetCloakedHost(host);
- update_host(u);
}
return MOD_CONT;