summaryrefslogtreecommitdiff
path: root/src/modules/m_sapart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_sapart.cpp')
-rw-r--r--src/modules/m_sapart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sapart.cpp b/src/modules/m_sapart.cpp
index df44e4671..6d1086bba 100644
--- a/src/modules/m_sapart.cpp
+++ b/src/modules/m_sapart.cpp
@@ -44,7 +44,7 @@ class cmd_sapart : public command_t
{
if (Srv->IsUlined(dest->server))
{
- WriteServ(user->fd,"990 %s :Cannot use an SA command on a u-lined client",user->nick);
+ user->WriteServ("990 %s :Cannot use an SA command on a u-lined client",user->nick);
return;
}
Srv->SendOpers(std::string(user->nick)+" used SAPART to make "+dest->nick+" part "+parameters[1]);