From 2574b4118d6acd11feb2682ec8d9cd51f35e14e2 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 18 Feb 2008 18:26:26 +0000 Subject: A module looks left out? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8968 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_stripcolor.cpp | 4 ++-- 1 file 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 ¶meter, bool adding) + ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, 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 ¶meter, bool adding) + ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding, bool servermode) { /* Only opers can change other users modes */ if (source != dest) -- cgit v1.2.3