summaryrefslogtreecommitdiff
path: root/src/core/chat-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/chat-commands.c')
-rw-r--r--src/core/chat-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/chat-commands.c b/src/core/chat-commands.c
index bdd64e4f..4a7b41ce 100644
--- a/src/core/chat-commands.c
+++ b/src/core/chat-commands.c
@@ -322,7 +322,7 @@ static void cmd_msg(const char *data, SERVER_REC *server, WI_ITEM_REC *item)
if (target != NULL)
server->send_message(server, target, msg);
- signal_emit(target != NULL && server->ischannel(target) ?
+ signal_emit(target != NULL && server_ischannel(server, target) ?
"message own_public" : "message own_private", 4,
server, msg, target, origtarget);