summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 16:52:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 16:52:47 +0000
commit319eed4053f4cdde0706431bdd2110b2150bb89e (patch)
tree5baaafd84f8f9585af35f82442e24a0dd82074a5 /src/inspircd.cpp
parent02d09f0e55061a292f8faa3552e2d198490cb8db (diff)
Fixed conflict with NOTICE and key exchange tokens (oops)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@506 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 6cb0cfc85..234dd0eb4 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -4184,7 +4184,7 @@ void handle_notice(char **parameters, int pcnt, userrec *user)
// if any users of this channel are on remote servers, broadcast the packet
char buffer[MAXBUF];
- snprintf(buffer,MAXBUF,"O %s %s :%s",user->nick,chan->name,parameters[1]);
+ snprintf(buffer,MAXBUF,"V %s %s :%s",user->nick,chan->name,parameters[1]);
for (int j = 0; j < 255; j++)
{
if (servers[j] != NULL)
@@ -4229,7 +4229,7 @@ void handle_notice(char **parameters, int pcnt, userrec *user)
{
// direct write, same server
char buffer[MAXBUF];
- snprintf(buffer,MAXBUF,"O %s %s :%s",user->nick,dest->nick,parameters[1]);
+ snprintf(buffer,MAXBUF,"V %s %s :%s",user->nick,dest->nick,parameters[1]);
me[defaultRoute]->SendPacket(buffer,servers[j]->internal_addr,servers[j]->internal_port,MyKey);
}
}
@@ -5649,7 +5649,7 @@ void DoSync(serverrec* serv, char* udp_host,int udp_port, long MyKey)
}
-void handle_O(char token,char* params,serverrec* source,serverrec* reply, char* udp_host,int udp_port)
+void handle_V(char token,char* params,serverrec* source,serverrec* reply, char* udp_host,int udp_port)
{
char* src = strtok(params," ");
char* dest = strtok(NULL," :");
@@ -5975,10 +5975,10 @@ void process_restricted_commands(char token,char* params,serverrec* source,serve
case 'P':
handle_P(token,params,source,reply,udp_host,udp_port);
break;
- // O <SOURCE> <TARGET> :<TEXT>
+ // V <SOURCE> <TARGET> :<TEXT>
// Send a private/channel notice
- case 'O':
- handle_O(token,params,source,reply,udp_host,udp_port);
+ case 'V':
+ handle_V(token,params,source,reply,udp_host,udp_port);
break;
// L <SOURCE> <CHANNEL> :<REASON>
// User parting a channel