From 3013fd48407d6b3c89f6807911b154d785a5b854 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 10 Apr 2004 20:42:50 +0000 Subject: Actually set 'm' datagram as a recognised type! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@511 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 508c3b94c..ba511e583 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -6003,6 +6003,7 @@ void handle_M(char token,char* params,serverrec* source,serverrec* reply, char* void handle_m(char token,char* params,serverrec* source,serverrec* reply, char* udp_host,int udp_port) { + // m blah #chatspike +b *!test@*4 char* pars[128]; char original[MAXBUF]; strncpy(original,params,MAXBUF); @@ -6250,11 +6251,16 @@ void process_restricted_commands(char token,char* params,serverrec* source,serve case 'T': handle_T(token,params,source,reply,udp_host,udp_port); break; - // M [MODE-PARAMETERS] - // Set modes on an object + // M [MODE-PARAMETERS] + // Server setting modes on an object case 'M': handle_M(token,params,source,reply,udp_host,udp_port); break; + // m [MODE-PARAMETERS] + // User setting modes on an object + case 'm': + handle_m(token,params,source,reply,udp_host,udp_port); + break; // P : // Send a private/channel message case 'P': -- cgit v1.2.3