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

BUILD : 1.7.6 (484) BUGS : 167 NOTES : Made BotServ !seen recognize the channel founder

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


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@338 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2004-12-09 20:03:55 +00:00
parent 00fc166d09
commit 29a7052bc0
3 changed files with 17 additions and 2 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ Provided by Anope Dev. <dev@anope.org> - 2004
11/19 A Added anope_cmd_ctcp() to code API, for sending CTCP messages. [ #00]
11/18 A Unable to use registered nicknames as bot nicks from now on. [ #00]
11/18 A NSAddAccessOnReg to control access list on registration. [ #00]
12/08 F ChanServ ACCESS wrong when dealing negative numbers [#240]
12/09 F BotServ !seen not recognizing founder. [#167]
12/08 F ChanServ ACCESS wrong when dealing negative numbers. [#240]
12/06 F Fixed misplaced pointer in moduleAddData(). [ #00]
12/06 F Fixed infinite loop with moduleGetData(). [#239]
12/05 F CS CLEAR OPS strips +a/+q modes, and uses SVSMODE where possible. [ #00]
+10
View File
@@ -556,6 +556,16 @@ void botchanmsgs(User * u, ChannelInfo * ci, char *buf)
}
anope_cmd_privmsg(ci->bi->nick, ci->name, "%s",
buf);
} else if (na->nc == ci->founder) {
/* User is the founder of the channel */
char durastr[192];
duration(u->na, durastr, sizeof(durastr),
time(NULL) - na->last_seen);
snprintf(buf, sizeof(buf),
getstring(u->na, BOT_SEEN_ON), target,
durastr);
anope_cmd_privmsg(ci->bi->nick, ci->name, "%s",
buf);
} else {
/* All other cases */
snprintf(buf, sizeof(buf),
+5 -1
View File
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="6"
VERSION_BUILD="483"
VERSION_BUILD="484"
# $Log$
#
# BUILD : 1.7.6 (484)
# BUGS : 167
# NOTES : Made BotServ !seen recognize the channel founder
#
# BUILD : 1.7.6 (483)
# BUGS : 240
# NOTES : 1. ChanServ ACCESS wrong when dealing negative numbers, 2. make strict under FreeBSD works again