summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-05-30 03:21:10 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-05-30 03:21:10 +0000
commit8cc71ee7946ca3723778062b66b336415122062b (patch)
tree216bf694da15bf643bf11c5fab935a5a3b3f3d8d
parente4189822bc811beeb6e5d738407d7e984eb07976 (diff)
Fixed a crash from r2990
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2992 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--src/users.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/users.c b/src/users.c
index 41d314a05..8075b4b42 100644
--- a/src/users.c
+++ b/src/users.c
@@ -509,6 +509,9 @@ const bool User::IsRecognized() const
*/
void User::UpdateHost()
{
+ if (!this->host)
+ return;
+
NickAlias *na = findnick(this->nick);
OnAccess = false;