From 45a9f587db94bdc368e10dad152fa12c80a7540a Mon Sep 17 00:00:00 2001 From: "trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Mon, 7 Mar 2005 03:07:00 +0000 Subject: [PATCH] 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 --- src/operserv.c | 4 ++-- version.log | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/operserv.c b/src/operserv.c index 1f4e650c3..83c284793 100644 --- a/src/operserv.c +++ b/src/operserv.c @@ -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), diff --git a/version.log b/version.log index dd2e0953d..2867d2c7e 100644 --- a/version.log +++ b/version.log @@ -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