summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-02 13:45:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-02 13:45:36 +0000
commit50d72df64f3e34659fde678eceeb4e6bd9e55821 (patch)
tree5acf9c8b85761c9829300a9aff2591da8c1b6195 /src/modules.cpp
parent2ad5f8c30ff22e7546d83f3bb56787adfbf5e95c (diff)
Added ability to override modes (allows SAMODE support etc)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@355 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 820488c99..f65f8b1bd 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -125,6 +125,10 @@ void Server::AddCommand(char* cmd, handlerfunc f, char flags, int minparams)
createcommand(cmd,f,flags,minparams);
}
+void Server::SendMode(char **parameters, int pcnt, userrec *user)
+{
+ server_mode(parameters,pcnt,user);
+}
void Server::Send(int Socket, std::string s)
{