From 57fd220885cb883b2f46a67aefcfc830def2de2e Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 27 Jul 2006 11:32:59 +0000 Subject: * Fix Server::SendMode to actually work again. * In the 1.1 protocol we now use FMODE for everything, rather than MODE. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4551 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/mode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mode.cpp') diff --git a/src/mode.cpp b/src/mode.cpp index 34070e5a1..d5ee5acdd 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -298,7 +298,7 @@ void ModeParser::Process(const char** parameters, int pcnt, userrec *user, bool log(DEBUG,"The user is not a halfop or above, checking other reasons for being able to set the modes"); /* Are we a uline or is it a servermode? */ - if ((!is_uline(user->server)) && (!servermode)) + if ((!is_uline(user->server)) && (!servermode) && (IS_LOCAL(user))) { /* Not enough permission: * NOT a uline and NOT a servermode, -- cgit v1.2.3