diff options
| author | 2014-01-05 15:04:01 +0100 | |
|---|---|---|
| committer | 2014-01-05 15:04:01 +0100 | |
| commit | 11916574f67962dce1d7a2fdf7ef6a3d2d1fa49f (patch) | |
| tree | 1c3c602de5512a62e2db96652ddd540e6e53e821 /src/modules/m_sanick.cpp | |
| parent | Remove useless ULine() checks (diff) | |
Introduce Server class
- Replaces std::string server in User
- Replaces InspIRCd::ULine() and SilentULine()
Diffstat (limited to 'src/modules/m_sanick.cpp')
| -rw-r--r-- | src/modules/m_sanick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sanick.cpp b/src/modules/m_sanick.cpp index 5f7860677..4ce6a5fb2 100644 --- a/src/modules/m_sanick.cpp +++ b/src/modules/m_sanick.cpp @@ -40,7 +40,7 @@ class CommandSanick : public Command /* Do local sanity checks and bails */ if (IS_LOCAL(user)) { - if (target && ServerInstance->ULine(target->server)) + if (target && target->server->IsULine()) { user->WriteNumeric(ERR_NOPRIVILEGES, ":Cannot use an SA command on a u-lined client"); return CMD_FAILURE; |
