From 4b62dbed78d9dca711b2eaffb239232fbe8d0709 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Apr 2004 14:31:30 +0000 Subject: SQUIT and routing of messages fixes during periods of downtime git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@617 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 2 +- src/inspircd.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/inspircd.h b/include/inspircd.h index bc62f1d31..f0e92782b 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -123,6 +123,6 @@ void NetSendToCommon(userrec* u, char* s); void NetSendToAll(char* s); void NetSendToAllAlive(char* s); void NetSendToOne(char* target,char* s); -void NetSendToAllExcept(char* target,char* s); +void NetSendToAllExcept(const char* target,char* s); void NetSendMyRoutingTable(); diff --git a/src/inspircd.cpp b/src/inspircd.cpp index b54828e63..1f64154ce 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -978,7 +978,7 @@ void NetSendToOne(char* target,char* s) } } -void NetSendToAllExcept(char* target,char* s) +void NetSendToAllExcept(const char* target,char* s) { char buffer[MAXBUF]; snprintf(buffer,MAXBUF,"%s",s); -- cgit v1.2.3