summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-servers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/irc-servers.c')
-rw-r--r--src/irc/core/irc-servers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/irc-servers.c b/src/irc/core/irc-servers.c
index ca548400..f39d858a 100644
--- a/src/irc/core/irc-servers.c
+++ b/src/irc/core/irc-servers.c
@@ -68,9 +68,9 @@ static int isnickflag_func(char flag)
return isnickflag(flag);
}
-static int ischannel_func(char flag)
+static int ischannel_func(const char *data)
{
- return ischannel(flag);
+ return ischannel_target(data);
}
static void send_message(SERVER_REC *server, const char *target,