From 4fb13263bfd2325184caf98f48163a9e63f755fa Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 2 Dec 2005 14:03:28 +0000 Subject: Added ability for ulined servers to set any arbitary channel mode (even from outside the channel) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2113 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 d1c63702f..e9b6861c0 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -1517,7 +1517,7 @@ void handle_mode(char **parameters, int pcnt, userrec *user) } } - if ((Ptr) && (!has_channel(user,Ptr))) + if (((Ptr) && (!has_channel(user,Ptr))) && (!is_uline(user->server))) { WriteServ(user->fd,"442 %s %s :You're not on that channel!",user->nick, Ptr->name); return; -- cgit v1.2.3