summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-18 22:12:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-18 22:12:45 +0000
commit69b414c69ce04ba91eac5754e418a816bcf4f403 (patch)
treec0a1eb0b30f5eac1c1a6357378e9b2a127ecb90a
parent2f5a1dcc42c959e65b5322312dd38b1e7fd446ea (diff)
Changes of RemoveServer to char* to const char*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@658 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 8e6f2bcef..b8403b76b 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -127,6 +127,6 @@ void NetSendToOne(char* target,char* s);
void NetSendToAllExcept(const char* target,char* s);
void NetSendMyRoutingTable();
void DoSplit(const char* params);
-void RemoveServer(char* name);
+void RemoveServer(const char* name);
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 9b410b95e..6f4565e98 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -6716,7 +6716,7 @@ void DoSplit(const char* params)
// removes a server. Will NOT remove its users!
-void RemoveServer(char* name)
+void RemoveServer(const char* name)
{
bool go_again = true;
while (go_again)