1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 08:56:39 +02:00

BUILD : 1.7.11 (911) BUGS : NOTES : Added a check to os_stats to see if we actually have a param to avoid segs

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


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@657 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-10-02 20:18:30 +00:00
parent 33191186fe
commit b1dc23a455
3 changed files with 7 additions and 2 deletions
+1
View File
@@ -4,6 +4,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005
10/01 A Information on uplink server can be displayed via OperServ STATS. [ #00]
09/29 A Configuration option to change fantasy command prefix character. [ #00]
09/28 A Event for fantasy commands triggered without channel access. [ #00]
10/02 F Added check in OperServ stats to avoid segfault without param. [ #00]
10/02 F Numeric 219 didn't give correct letter for STATS u. [ #00]
10/02 F ChanServ HOP was available on IRCDs without halfop support. [ #00]
10/01 F Placed capab tokens and flags into a table for easier handling. [ #00]
+1 -1
View File
@@ -233,7 +233,7 @@ int do_stats(User * u)
}
}
if ((stricmp(extra, "MEMORY") != 0) && (stricmp(extra, "UPLINK") != 0)) {
if (!extra || ((stricmp(extra, "MEMORY") != 0) && (stricmp(extra, "UPLINK") != 0))) {
notice_lang(s_OperServ, u, OPER_STATS_CURRENT_USERS, usercnt, opcnt);
tm = localtime(&maxusertime);
strftime_lang(timebuf, sizeof(timebuf), u, STRFTIME_DATE_TIME_FORMAT,
+5 -1
View File
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="11"
VERSION_EXTRA="-svn"
VERSION_BUILD="910"
VERSION_BUILD="911"
# $Log$
#
# BUILD : 1.7.11 (911)
# BUGS :
# NOTES : Added a check to os_stats to see if we actually have a param to avoid segs
#
# BUILD : 1.7.11 (910)
# BUGS :
# NOTES : Fixed some stats not passing the correct letter to anope_cmd_219