diff options
| author | 2014-01-05 14:27:30 +0100 | |
|---|---|---|
| committer | 2014-01-05 14:27:30 +0100 | |
| commit | 2f181fef775da4a686a892c06af843dddfb7950a (patch) | |
| tree | 320dcd7e0bc34312898487af31fa228d83729dce /src/modules/m_servprotect.cpp | |
| parent | m_spanningtree Remove vector from TreeServer::QuitUsers() (diff) | |
Remove useless ULine() checks
Diffstat (limited to 'src/modules/m_servprotect.cpp')
| -rw-r--r-- | src/modules/m_servprotect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_servprotect.cpp b/src/modules/m_servprotect.cpp index 1eb969fc9..7610992a0 100644 --- a/src/modules/m_servprotect.cpp +++ b/src/modules/m_servprotect.cpp @@ -69,7 +69,7 @@ class ModuleServProtectMode : public Module /* Check that the mode is not a server mode, it is being removed, the user making the change is local, there is a parameter, * and the user making the change is not a uline */ - if (!adding && chan && IS_LOCAL(user) && !param.empty() && !ServerInstance->ULine(user->server)) + if (!adding && chan && IS_LOCAL(user) && !param.empty()) { /* Check if the parameter is a valid nick/uuid */ |
