From 645f7e18c64a6628ede880dc69bf8825ba93b375 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 12 Apr 2013 02:10:06 +0100 Subject: Add LOG_ prefix to the log level enum values. --- include/modules.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/modules.h') diff --git a/include/modules.h b/include/modules.h index 58062fddd..9ba238da5 100644 --- a/include/modules.h +++ b/include/modules.h @@ -135,7 +135,7 @@ struct ModResult { } \ catch (CoreException& modexcept) \ { \ - ServerInstance->Logs->Log("MODULE",DEFAULT,"Exception caught: %s",modexcept.GetReason()); \ + ServerInstance->Logs->Log("MODULE",LOG_DEFAULT,"Exception caught: %s",modexcept.GetReason()); \ } \ _i = safei; \ } \ @@ -162,7 +162,7 @@ do { \ } \ catch (CoreException& except_ ## n) \ { \ - ServerInstance->Logs->Log("MODULE",DEFAULT,"Exception caught: %s", (except_ ## n).GetReason()); \ + ServerInstance->Logs->Log("MODULE",LOG_DEFAULT,"Exception caught: %s", (except_ ## n).GetReason()); \ (void) mod_ ## n; /* catch mismatched pairs */ \ } \ } \ -- cgit v1.2.3