diff options
author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-01-05 05:24:07 +0000 |
---|---|---|
committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-01-05 05:24:07 +0000 |
commit | 6f72ea027805f48ebb6470254ef5ccbc67dcd0fc (patch) | |
tree | 8168025de4703d8e10d951648f626f2f1f57e61f /src/chanserv.c | |
parent | bb9c7b1c7b9dfafef7637f5dc299a45496d09ac2 (diff) |
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
Diffstat (limited to 'src/chanserv.c')
-rw-r--r-- | src/chanserv.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/chanserv.c b/src/chanserv.c index 4368fb610..fe12ee9db 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -2855,13 +2855,18 @@ static int do_logout(User * u) if (u2) { make_unidentified(u2, ci); notice_lang(s_ChanServ, u, CHAN_LOGOUT_SUCCEEDED, nick, chan); + alog("%s: User %s!%s@%s has been logged out of channel %s.", + s_ChanServ, u2->nick, u2->username, common_get_vhost(u2), + chan); } else { int i; for (i = 0; i < 1024; i++) for (u2 = userlist[i]; u2; u2 = u2->next) make_unidentified(u2, ci); notice_lang(s_ChanServ, u, CHAN_LOGOUT_ALL_SUCCEEDED, chan); + alog("%s: All users identified have been logged out of channel %s.", s_ChanServ, chan); } + } return MOD_CONT; } @@ -5805,9 +5810,10 @@ static int do_cs_topic(User * u) c->topic_time = ci->last_topic_time; } - if (is_services_admin(u)) + if (is_services_admin(u) && !check_access(u, ci, CA_TOPIC)) alog("%s: %s!%s@%s changed topic of %s as services admin.", - s_ChanServ, u->nick, u->username, u->host, c->name); + s_ChanServ, u->nick, u->username, common_get_vhost(u), + c->name); if (ircd->join2set) { if (whosends(ci) == s_ChanServ) { anope_cmd_join(s_ChanServ, c->name, time(NULL)); |