diff options
author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-03 05:46:40 +0000 |
---|---|---|
committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-03 05:46:40 +0000 |
commit | bfa12b9fe4588e220ac565383a37f64fc7fec1b3 (patch) | |
tree | 2cdff98c1a7d00c5a83470dbfdfe9dd2794cfed0 | |
parent | a8ed2b9244ab81f4073bac0070f1329d7d15a7f6 (diff) |
BUILD : 1.7.8 (591) BUGS : 306 NOTES : Fixed LogUser message, normalizes the "realname" on nick change.
git-svn-id: svn://svn.anope.org/anope/trunk@592 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@441 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/users.c | 8 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 12 insertions, 3 deletions
@@ -5,6 +5,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005 02/13 A Internal Event support, see EVENTS in the doc folder for help [ #00] 02/05 A Support for Unreal 3.2 +I channel mode. [ #00] 02/03 A Merged anope-win32 branch into the main, now Win32 ready. [ #00] +03/02 F Fixed LogUser message, normalizes the "realname" on nick change. [#306] 03/02 F ircd protocol support for owner and admin taken from proto. files.[ #00] 03/02 F /ns alist output. [#288] 02/28 F normalizeBuffer() now strips two digit color codes [#303] diff --git a/src/users.c b/src/users.c index 825b9d4fd..cd89bf0db 100644 --- a/src/users.c +++ b/src/users.c @@ -661,10 +661,14 @@ User *do_nick(const char *source, char *nick, char *username, char *host, alog("debug: %s changes nick to %s", source, nick); if (LogUsers) { + logrealname = normalizeBuffer(user->realname); if (ircd->vhost) { - alog("LOGUSERS: %s (%s@%s => %s) (%s) changed his nick to %s (%s).", user->nick, user->username, user->host, (user->vhost ? user->vhost : "(none)"), user->realname, nick, user->server->name); + alog("LOGUSERS: %s (%s@%s => %s) (%s) changed his nick to %s (%s).", user->nick, user->username, user->host, (user->vhost ? user->vhost : "(none)"), logrealname, nick, user->server->name); } else { - alog("LOGUSERS: %s (%s@%s) (%s) changed his nick to %s (%s).", user->nick, user->username, user->host, user->realname, nick, user->server->name); + alog("LOGUSERS: %s (%s@%s) (%s) changed his nick to %s (%s).", user->nick, user->username, user->host, logrealname, nick, user->server->name); + } + if (logrealname) { + free(logrealname); } } diff --git a/version.log b/version.log index 5a78aad68..35764d080 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="8" -VERSION_BUILD="590" +VERSION_BUILD="591" # $Log$ # +# BUILD : 1.7.8 (591) +# BUGS : 306 +# NOTES : Fixed LogUser message, normalizes the "realname" on nick change. +# # BUILD : 1.7.8 (590) # BUGS : 288 / N/A # NOTES : Fixed 288, moved updated all set/unset admin/owner calls to use the ircd protocol files. This needs a fair good test, but it seems all ok, and i cant see anything wrong with it :) |