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_saquit.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_saquit.cpp')
| -rw-r--r-- | src/modules/m_saquit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp index 27ef86eb2..ee6de5e94 100644 --- a/src/modules/m_saquit.cpp +++ b/src/modules/m_saquit.cpp @@ -37,7 +37,7 @@ class CommandSaquit : public Command User* dest = ServerInstance->FindNick(parameters[0]); if ((dest) && (!IS_SERVER(dest))) { - if (ServerInstance->ULine(dest->server)) + if (dest->server->IsULine()) { user->WriteNumeric(ERR_NOPRIVILEGES, ":Cannot use an SA command on a u-lined client"); return CMD_FAILURE; |
