diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/botserv.c | 1 | ||||
-rw-r--r-- | src/users.c | 14 | ||||
-rw-r--r-- | version.log | 6 |
4 files changed, 13 insertions, 9 deletions
@@ -33,6 +33,7 @@ Provided by Trystan <trystan@nomadirc.net> - 2004 09/07 A Ircd CHANMODE now trapped and stored. [ #00] 08/23 A New protocol independent design (aka anope-capab). [ #00] 08/28 A New IRCD document for adding new ircd support to new design. [ #00] +10/29 F Fixed LogUser message, now normalizes the "realname" for display [#199] 10/29 F Fixed BS ACT, if the string contained control character 1 [#193] 10/27 F Fixed hardcored ircd sqlines from taking out services [#133] 10/27 F Fixed TOPIC timestamp not being read correctly [#196] diff --git a/src/botserv.c b/src/botserv.c index b376ed97f..f7507ffef 100644 --- a/src/botserv.c +++ b/src/botserv.c @@ -2434,7 +2434,6 @@ static int do_act(User * u) char *chan = strtok(NULL, " "); char *text = strtok(NULL, ""); - char tmpbuf[BUFSIZE]; if (!chan || !text) syntax_error(s_BotServ, u, "ACT", BOT_ACT_SYNTAX); diff --git a/src/users.c b/src/users.c index 2f102eef0..b824271bb 100644 --- a/src/users.c +++ b/src/users.c @@ -201,12 +201,12 @@ void delete_user(User * user) if (ircd->vhost) { alog("LOGUSERS: %s (%s@%s => %s) (%s) left the network (%s).", user->nick, user->username, user->host, - (user->vhost ? user->vhost : "(none)"), user->realname, - user->server->name); + (user->vhost ? user->vhost : "(none)"), + normalizeBuffer(user->realname), user->server->name); } else { alog("LOGUSERS: %s (%s@%s) (%s) left the network (%s).", user->nick, user->username, user->host, - user->realname, user->server->name); + normalizeBuffer(user->realname), user->server->name); } } @@ -420,15 +420,15 @@ User *do_nick(const char *source, char *nick, char *username, char *host, if (ircd->nickvhost) { if (ircd->nickip) { - alog("LOGUSERS: %s (%s@%s => %s) (%s) [%s] connected to the network (%s).", nick, username, host, vhost, realname, ipbuf, server); + alog("LOGUSERS: %s (%s@%s => %s) (%s) [%s] connected to the network (%s).", nick, username, host, (vhost ? vhost : "none"), normalizeBuffer(realname), ipbuf, server); } else { - alog("LOGUSERS: %s (%s@%s => %s) (%s) connected to the network (%s).", nick, username, host, vhost, realname, server); + alog("LOGUSERS: %s (%s@%s => %s) (%s) connected to the network (%s).", nick, username, host, (vhost ? vhost : "none"), normalizeBuffer(realname), server); } } else { if (ircd->nickip) { - alog("LOGUSERS: %s (%s@%s) (%s) [%s] connected to the network (%s).", nick, username, host, realname, ipbuf, server); + alog("LOGUSERS: %s (%s@%s) (%s) [%s] connected to the network (%s).", nick, username, host, normalizeBuffer(realname), ipbuf, server); } else { - alog("LOGUSERS: %s (%s@%s) (%s) connected to the network (%s).", nick, username, host, realname, server); + alog("LOGUSERS: %s (%s@%s) (%s) connected to the network (%s).", nick, username, host, normalizeBuffer(realname), server); } } } diff --git a/version.log b/version.log index 55793bcb6..08fac027d 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="5" -VERSION_BUILD="431" +VERSION_BUILD="432" # $Log$ # +# BUILD : 1.7.5 (432) +# BUGS : 199 +# NOTES : 1. fixed unused var from previous commit, 2. normalized the realname when doing LogUsers (199) +# # BUILD : 1.7.5 (431) # BUGS : 193 # NOTES : 1. extern normalizeBuffer() helpful in some many other places not just botserv, 2. fixed BS ACT, if the string |