summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes3
-rw-r--r--src/botserv.c10
-rw-r--r--version.log6
3 files changed, 17 insertions, 2 deletions
diff --git a/Changes b/Changes
index 2a4af4eeb..95a9d133a 100644
--- a/Changes
+++ b/Changes
@@ -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]
diff --git a/src/botserv.c b/src/botserv.c
index 8b1fc120f..596f2b2f3 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -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),
diff --git a/version.log b/version.log
index f03e730e6..678285ac0 100644
--- a/version.log
+++ b/version.log
@@ -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