diff options
-rw-r--r-- | include/inspircd.h | 2 | ||||
-rw-r--r-- | 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); |