diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-02 13:47:41 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-02 13:47:41 +0000 |
commit | 4102508f95a9c62cd92a361667b87e8bae16c474 (patch) | |
tree | b190b9e5dc9830f5ce4c9fa8f6e5f780be95f4df /src | |
parent | c07db3cfd25e4432a8a4450b7cb1f7bd715ca8ab (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |