diff options
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index d2c3f21f9..548f6fdcb 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -171,9 +171,14 @@ void Server::ChangeUserNick(userrec* user, std::string nickname) void Server::QuitUser(userrec* user, std::string reason) { + send_network_quit(user->nick,reason.c_str()); kill_link(user,reason.c_str()); } +void Server::CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user) +{ + call_handler(commandname.c_str(),parameters,pcnt,user); +} void Server::Log(int level, std::string s) { |