summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index 737e11b8c..7c5468b42 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -235,7 +235,7 @@ void ircd_connector::SetDescriptor(int fd)
this->fd = fd;
}
-bool connection::SendPacket(char *message, char* host)
+bool connection::SendPacket(char *message, const char* host)
{
ircd_connector* cn = this->FindHost(host);