summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.c b/src/hash.c
index 8425db5..359d498 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -692,7 +692,7 @@ delete_user_host(const char *user, const char *host, int global)
* Sendq limit is fairly conservative at 1/2 (In original anyway)
*/
static int
-exceeding_sendq(struct Client *to)
+exceeding_sendq(const struct Client *to)
{
if (dbuf_length(&to->localClient->buf_sendq) > (get_sendq(&to->localClient->confs) / 2))
return 1;