1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 20:03:13 +02:00

BUILD : 1.7.6 (521) BUGS : 254, 266 NOTES : Fixed up some alog() messages, and MemoServ INFO showing -1 for no hard limit

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


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@375 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-01-05 05:24:07 +00:00
parent bb9c7b1c7b
commit 6f72ea0278
7 changed files with 159 additions and 45 deletions
+7 -4
View File
@@ -3029,10 +3029,13 @@ static int do_set_email(User * u, NickCore * nc, char *param)
return MOD_CONT;
}
alog("%s: %s!%s@%s (e-mail: %s) changed its e-mail to %s.", s_NickServ,
u->nick, u->username, common_get_vhost(u),
(nc->email ? nc->email : "none"), (param ? param : "none"));
if (u->na && u->na->nc != nc && is_services_admin(u)) {
alog("%s: %s!%s@%s used SET EMAIL as Services admin on %s (e-mail: %s)", s_NickServ, u->nick, u->username, common_get_vhost(u), nc->display, (nc->email ? nc->email : "none"));
} else {
alog("%s: %s!%s@%s (e-mail: %s) changed its e-mail to %s.",
s_NickServ, u->nick, u->username, common_get_vhost(u),
(nc->email ? nc->email : "none"), (param ? param : "none"));
}
if (nc->email)
free(nc->email);