]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nonicks.cpp
Move Blocking/NonBlocking to socket.cpp and make inline
[user/henk/code/inspircd.git] / src / modules / m_nonicks.cpp
index b225cdba5f502d3c3c505327b14332a0e47fc9ec..b96990cdf32dfc8f44048555be5514d1074301a0 100644 (file)
@@ -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;
                                        }
                                }