diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-09 20:49:21 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-09 20:49:21 +0000 |
commit | a1c45be517908522df431d7f9dcc1dcb4a0baeec (patch) | |
tree | c825600d0f9c28f27c723a07ee638336eef8e742 /src | |
parent | bab5a37970fc184bf0dd734846e742a0a91d6716 (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
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 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); } } |