diff options
Diffstat (limited to 'src/cmd_part.cpp')
-rw-r--r-- | src/cmd_part.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_part.cpp b/src/cmd_part.cpp index 1b9680d5d..beb590ab9 100644 --- a/src/cmd_part.cpp +++ b/src/cmd_part.cpp @@ -37,6 +37,6 @@ void cmd_part::Handle (const char** parameters, int pcnt, userrec *user) } else { - WriteServ(user->fd, "401 %s %s :No such channel", user->nick, parameters[0]); + user->WriteServ( "401 %s %s :No such channel", user->nick, parameters[0]); } } |