summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-06 09:16:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-06 09:16:01 +0000
commit08e458938aa4a566f88e07f1ce35548f59dbe5f3 (patch)
tree62511dcc6297f298626c102acedcb4b63a5d645f /src
parent1155f2492cc9e457681cd4530c0c5358392e6d7c (diff)
Fix warning in 4.2 gcc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7678 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_override.cpp2
1 files changed, 1 insertions, 1 deletions
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 <type:override>
override_t::iterator j = overrides.find(source->oper);