summaryrefslogtreecommitdiff
path: root/src/modules/m_nonicks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_nonicks.cpp')
-rw-r--r--src/modules/m_nonicks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp
index b225cdba5..b96990cdf 100644
--- a/src/modules/m_nonicks.cpp
+++ b/src/modules/m_nonicks.cpp
@@ -103,7 +103,7 @@ class ModuleNoNickChange : public Module
{
// don't allow the nickchange, theyre on at least one channel with +N set
// and theyre not an oper
- WriteServ(user->fd,"447 %s :Can't change nickname while on %s (+N is set)",user->nick,curr->name);
+ user->WriteServ("447 %s :Can't change nickname while on %s (+N is set)",user->nick,curr->name);
return 1;
}
}