From 79f09ed15791a532eb8d2211f7b126f4bcdff7c1 Mon Sep 17 00:00:00 2001 From: rburchell Date: Tue, 10 Feb 2009 21:16:20 +0000 Subject: Various fixes. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1988 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/os_defcon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/os_defcon.c') diff --git a/src/core/os_defcon.c b/src/core/os_defcon.c index edfec8580..484535972 100644 --- a/src/core/os_defcon.c +++ b/src/core/os_defcon.c @@ -28,9 +28,9 @@ class CommandOSDEFCON : public Command CommandReturn Execute(User *u, std::vector ¶ms) { - char *lvl = params[0].c_str(); + const char *lvl = params[0].c_str(); int newLevel = 0; - char *langglobal = getstring(NULL, DEFCON_GLOBAL); + const char *langglobal = getstring(NULL, DEFCON_GLOBAL); if (!DefConLevel) /* If we dont have a .conf setting! */ { -- cgit