summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-18 18:26:26 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-18 18:26:26 +0000
commit2574b4118d6acd11feb2682ec8d9cd51f35e14e2 (patch)
treee66526ae1bb72b3548d7d762b690f802cfd156c0 /src/modules
parentd610a29e31c3c968ef2327f17a8ca79ba984164c (diff)
A module looks left out?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8968 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_stripcolor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_stripcolor.cpp b/src/modules/m_stripcolor.cpp
index ad109b29f..17c0a2f30 100644
--- a/src/modules/m_stripcolor.cpp
+++ b/src/modules/m_stripcolor.cpp
@@ -22,7 +22,7 @@ class ChannelStripColor : public ModeHandler
public:
ChannelStripColor(InspIRCd* Instance) : ModeHandler(Instance, 'S', 0, 0, false, MODETYPE_CHANNEL, false) { }
- ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding)
+ ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool servermode)
{
if (adding)
{
@@ -52,7 +52,7 @@ class UserStripColor : public ModeHandler
public:
UserStripColor(InspIRCd* Instance) : ModeHandler(Instance, 'S', 0, 0, false, MODETYPE_USER, false) { }
- ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding)
+ ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool servermode)
{
/* Only opers can change other users modes */
if (source != dest)