summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)