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_swhois.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_swhois.cpp')
| -rw-r--r-- | src/modules/m_swhois.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 3e0ecbc8c..4eb2a9cda 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -51,11 +51,11 @@ class CommandSwhois : public Command if (text) { // We already had it set... - if (!ServerInstance->ULine(user->server)) + if (!user->server->IsULine()) // Ulines set SWHOISes silently ServerInstance->SNO->WriteGlobalSno('a', "%s used SWHOIS to set %s's extra whois from '%s' to '%s'", user->nick.c_str(), dest->nick.c_str(), text->c_str(), parameters[1].c_str()); } - else if (!ServerInstance->ULine(user->server)) + else if (!user->server->IsULine()) { // Ulines set SWHOISes silently ServerInstance->SNO->WriteGlobalSno('a', "%s used SWHOIS to set %s's extra whois to '%s'", user->nick.c_str(), dest->nick.c_str(), parameters[1].c_str()); |
