From 319eed4053f4cdde0706431bdd2110b2150bb89e Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 10 Apr 2004 16:52:47 +0000 Subject: 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 --- src/inspircd.cpp | 12 ++++++------ 1 file 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 : + // V : // 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 : // User parting a channel -- cgit v1.2.3