From 494d7f7489a78df919c1e9effcb0a014e8dc2286 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 28 Oct 2006 19:42:29 +0000 Subject: * Fix removal of user modes when unloading the mode letter (this actually works now) * Fix m_stripcolor channel mode +S (was unsettable as it had some user mode checks in it) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5577 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_stripcolor.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_stripcolor.cpp b/src/modules/m_stripcolor.cpp index 684e6eed8..723225cca 100644 --- a/src/modules/m_stripcolor.cpp +++ b/src/modules/m_stripcolor.cpp @@ -32,10 +32,6 @@ class ChannelStripColor : public ModeHandler ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) { - /* Only opers can change other users modes */ - if ((source != dest) && (!*source->oper)) - return MODEACTION_DENY; - if (adding) { if (!channel->IsModeSet('S')) -- cgit v1.2.3