summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/InspIRCd.layout6
-rw-r--r--src/inspircd.cpp10
2 files changed, 11 insertions, 5 deletions
diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout
index 24d296dee..734d0bb49 100644
--- a/src/InspIRCd.layout
+++ b/src/InspIRCd.layout
@@ -13,9 +13,9 @@ LeftChar=1
[Editor_1]
Open=1
Top=1
-CursorCol=11
-CursorRow=6026
-TopLine=5977
+CursorCol=20
+CursorRow=6255
+TopLine=6236
LeftChar=1
[Editor_2]
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':