summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_swhois.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index 000eeb040..78a44f35a 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -50,14 +50,17 @@ class cmd_swhois : public command_t
if(text)
{
// We already had it set...
-
- WriteOpers("%s used SWHOIS to set %s's extra whois from '%s' to '%s'", user->nick, dest->nick, text->c_str(), line.c_str());
+
+ if (!Srv->IsUlined(user->server))
+ // Ulines set SWHOISes silently
+ WriteOpers("%s used SWHOIS to set %s's extra whois from '%s' to '%s'", user->nick, dest->nick, text->c_str(), line.c_str());
dest->Shrink("swhois");
delete text;
}
- else
+ else if(!Srv->IsUlined(user->server))
{
+ // Ulines set SWHOISes silently
WriteOpers("%s used SWHOIS to set %s's extra whois to '%s'", user->nick, dest->nick, line.c_str());
}