From 4102508f95a9c62cd92a361667b87e8bae16c474 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 2 Dec 2005 13:47:41 +0000 Subject: Changes to allow ulined servers to set any mode git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2112 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/mode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mode.cpp b/src/mode.cpp index 7cc53d230..d1c63702f 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -1294,7 +1294,7 @@ void handle_mode(char **parameters, int pcnt, userrec *user) can_change = 0; if (user != dest) { - if (strchr(user->modes,'o')) + if ((strchr(user->modes,'o')) || (is_uline(user->server))) { can_change = 1; } -- cgit v1.2.3