From 97d71c180cb45f333397d0c813ad6ee9353e770d Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 10 Apr 2004 15:12:40 +0000 Subject: Fixes to 'P' (privmsg) datagram git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@499 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 24addeda1..138556af3 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -5474,7 +5474,7 @@ void DoSync(serverrec* serv, char* udp_host,int udp_port, long MyKey) void handle_P(char token,char* params,serverrec* source,serverrec* reply, char* udp_host,int udp_port) { - char* src = strtok(NULL," "); + char* src = strtok(params," "); char* dest = strtok(NULL," :"); char* text = strtok(NULL,"\r\n"); text++; -- cgit v1.2.3