summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-16 14:31:30 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-16 14:31:30 +0000
commit4b62dbed78d9dca711b2eaffb239232fbe8d0709 (patch)
tree40df873ff1fe1672a787ce124e4d160632a14667
parentcccf28594cc5bcbe5025adb0d6c66af3b664426f (diff)
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
-rw-r--r--include/inspircd.h2
-rw-r--r--src/inspircd.cpp2
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);