diff options
Diffstat (limited to 'src/cmd_commands.cpp')
-rw-r--r-- | src/cmd_commands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_commands.cpp b/src/cmd_commands.cpp index 257413c11..dfcc874c9 100644 --- a/src/cmd_commands.cpp +++ b/src/cmd_commands.cpp @@ -26,7 +26,7 @@ void cmd_commands::Handle (const char** parameters, int pcnt, userrec *user) { for (nspace::hash_map<std::string,command_t*>::iterator i = ServerInstance->Parser->cmdlist.begin(); i != ServerInstance->Parser->cmdlist.end(); i++) { - WriteServ(user->fd,"902 %s :%s %s %d",user->nick,i->second->command.c_str(),i->second->source.c_str(),i->second->min_params); + user->WriteServ("902 %s :%s %s %d",user->nick,i->second->command.c_str(),i->second->source.c_str(),i->second->min_params); } - WriteServ(user->fd,"903 %s :End of COMMANDS list",user->nick); + user->WriteServ("903 %s :End of COMMANDS list",user->nick); } |