From 08e458938aa4a566f88e07f1ce35548f59dbe5f3 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 6 Aug 2007 09:16:01 +0000 Subject: Fix warning in 4.2 gcc git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7678 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_override.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp index be123d4fd..70a5f9812 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -90,7 +90,7 @@ class ModuleOverride : public Module output.append(" OVERRIDE"); } - virtual bool CanOverride(userrec* source, char* token) + virtual bool CanOverride(userrec* source, const char* token) { // checks to see if the oper's type has override_t::iterator j = overrides.find(source->oper); -- cgit v1.2.3