1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 14:23:14 +02:00

BUILD : 1.7.5 (432) BUGS : 199 NOTES : 1. fixed unused var from previous commit, 2. normalized the realname when doing LogUsers (199)

git-svn-id: svn://svn.anope.org/anope/trunk@432 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@287 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
2004-10-30 03:59:03 +00:00
parent 3ea6c80b9b
commit da0d4d0498
4 changed files with 13 additions and 9 deletions
-1
View File
@@ -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);
+7 -7
View File
@@ -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);
}
}
}