summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 20:42:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 20:42:50 +0000
commit3013fd48407d6b3c89f6807911b154d785a5b854 (patch)
treee526f800ed5886e8b47628abfb6caa78b718d8f2 /src/inspircd.cpp
parent9b1ccadce2788b80a334990d4102eab5897503b0 (diff)
Actually set 'm' datagram as a recognised type!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@511 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp10
1 files changed, 8 insertions, 2 deletions
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 <TS> <TARGET> <MODES> [MODE-PARAMETERS]
- // Set modes on an object
+ // M <TARGET> <MODES> [MODE-PARAMETERS]
+ // Server setting modes on an object
case 'M':
handle_M(token,params,source,reply,udp_host,udp_port);
break;
+ // m <SOURCE> <TARGET> <MODES> [MODE-PARAMETERS]
+ // User setting modes on an object
+ case 'm':
+ handle_m(token,params,source,reply,udp_host,udp_port);
+ break;
// P <SOURCE> <TARGET> :<TEXT>
// Send a private/channel message
case 'P':