summaryrefslogtreecommitdiff
path: root/src/irc/core/ctcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/ctcp.c')
-rw-r--r--src/irc/core/ctcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/ctcp.c b/src/irc/core/ctcp.c
index 8bcd4684..a1d1f2df 100644
--- a/src/irc/core/ctcp.c
+++ b/src/irc/core/ctcp.c
@@ -120,7 +120,7 @@ static void ctcp_msg(const char *data, IRC_SERVER_REC *server,
{
char *args, *str;
- if (ignore_check(server, nick, addr, target, data, MSGLEVEL_CTCPS))
+ if (ignore_check(SERVER(server), nick, addr, target, data, MSGLEVEL_CTCPS))
return;
str = g_strconcat("ctcp msg ", data, NULL);
@@ -140,7 +140,7 @@ static void ctcp_reply(const char *data, IRC_SERVER_REC *server,
{
char *args, *str;
- if (ignore_check(server, nick, addr, target, data, MSGLEVEL_CTCPS))
+ if (ignore_check(SERVER(server), nick, addr, target, data, MSGLEVEL_CTCPS))
return;
str = g_strconcat("ctcp reply ", data, NULL);