summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 13:08:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 13:08:31 +0000
commitc12034634020cac5c17b6845613c2c168d174d3d (patch)
tree7c2cb55433c3cde9ca6daabb12d6a43f779cd38b /src/modules.cpp
parentec8a311cccb90f1397dca47c200300678a4e36aa (diff)
Added 'i' and 't' type link datagrams
Fixed /mode #channel +b glitch git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@521 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp5
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)
{