summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-26 12:52:28 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-26 12:52:28 +0000
commit44ac35082c222e8778405aae01d9e5b7884a5491 (patch)
treeb3a08562bdb7baa65448f15efd75111d378cbe24
parent16ea016846dae51a71080934a5e52e66da512027 (diff)
Fix error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9812 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_swhois.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index 3a82174ec..c2ac8bef1 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -46,7 +46,7 @@ class CommandSwhois : public Command
// We already had it set...
if (!ServerInstance->ULine(user->server))
// Ulines set SWHOISes silently
- ServerInstance->SNO->WriteToSnoMask('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(), line.c_str());
+ ServerInstance->SNO->WriteToSnoMask('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[0].c_str());
dest->Shrink("swhois");
delete text;
@@ -54,7 +54,7 @@ class CommandSwhois : public Command
else if (!ServerInstance->ULine(user->server))
{
// Ulines set SWHOISes silently
- ServerInstance->SNO->WriteToSnoMask('A', "%s used SWHOIS to set %s's extra whois to '%s'", user->nick.c_str(), dest->nick.c_str(), line.c_str());
+ ServerInstance->SNO->WriteToSnoMask('A', "%s used SWHOIS to set %s's extra whois to '%s'", user->nick.c_str(), dest->nick.c_str(), parameters[0].c_str());
}
text = new std::string(parameters[0]);