summaryrefslogtreecommitdiff
path: root/src/core/chat-commands.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-01 22:52:23 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-01 22:52:23 +0000
commit95b94ed83c1372fae4eb14bf8109847bdc65a8d2 (patch)
treecf561053d2810f67121b624e8c2b9bdce902b69b /src/core/chat-commands.c
parent9833844f38ccbb3a2679c99b4d9a6f9c2e1e5f8d (diff)
downloadirssi-95b94ed83c1372fae4eb14bf8109847bdc65a8d2.zip
server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). Added
#define server_ischannel(server, data) and it's now used everywhere.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
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);