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

BUILD : 1.7.8 (603) BUGS : N/A NOTES : Fixed EVENT_DEFCON_LEVEL

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


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@451 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-03-07 03:07:00 +00:00
parent 84a39def3d
commit 45a9f587db
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -5027,7 +5027,7 @@ static int do_defcon(User * u)
return MOD_CONT;
}
DefConLevel = newLevel;
send_event("EVENT_DEFCON_LEVEL", "%d", DefConLevel);
send_event(EVENT_DEFCON_LEVEL, "%d", DefConLevel);
DefContimer = time(NULL);
notice_lang(s_OperServ, u, OPER_DEFCON_CHANGED, DefConLevel);
defcon_sendlvls(u);
@@ -5123,7 +5123,7 @@ void resetDefCon(int level)
if ((DefContimer)
&& (time(NULL) - DefContimer >= dotime(DefConTimeOut))) {
DefConLevel = level;
send_event("EVENT_DEFCON_LEVEL", "%d", DefConLevel);
send_event(EVENT_DEFCON_LEVEL, "%d", DefConLevel);
alog("Defcon level timeout, returning to lvl %d", level);
anope_cmd_global(s_OperServ,
getstring2(NULL, OPER_DEFCON_WALL),
+5 -1
View File
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="8"
VERSION_BUILD="602"
VERSION_BUILD="603"
# $Log$
#
# BUILD : 1.7.8 (603)
# BUGS : N/A
# NOTES : Fixed EVENT_DEFCON_LEVEL
#
# BUILD : 1.7.8 (602)
# BUGS : 308, 311
# NOTES : Fixed a couple of bugs, some smelling errors, and only in debug will nonexistent warnings display