summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-09 20:49:21 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-09 20:49:21 +0000
commita1c45be517908522df431d7f9dcc1dcb4a0baeec (patch)
treec825600d0f9c28f27c723a07ee638336eef8e742
parentbab5a37970fc184bf0dd734846e742a0a91d6716 (diff)
Fix a crash introduced in r2679 cause by is_on_access messing up the users host buffers
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2743 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--src/nickserv.c2
-rw-r--r--version.log3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/nickserv.c b/src/nickserv.c
index 770bff060..6593529b6 100644
--- a/src/nickserv.c
+++ b/src/nickserv.c
@@ -1296,7 +1296,7 @@ int is_on_access(User * u, NickCore * nc)
if (u->chost)
{
buf3 = scalloc(strlen(u->username) + strlen(u->chost) + 2, 1);
- sprintf(buf2, "%s@%s", u->username, u->chost);
+ sprintf(buf3, "%s@%s", u->username, u->chost);
}
}
diff --git a/version.log b/version.log
index fc3f0638d..345348643 100644
--- a/version.log
+++ b/version.log
@@ -9,9 +9,10 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="2"
VERSION_EXTRA="-svn"
-VERSION_BUILD="2735"
+VERSION_BUILD="2743"
# $Log$ # Changes since 1.8.2 Release
+#Revision 2743 - Fix a crash introduced in r2679 cause by is_on_access messing up the users host buffers
#Revision 2735 - Added two missing language strings to de.l and ru.l
#Revision 2734 - Made elist_match_user also check against the users cloaked host
#Revision 2731 - Mark users as unrecognized on Inspircd 1.2 if no/invalid metadata is recieved for them before the next uid/eob