summaryrefslogtreecommitdiff
path: root/src/irc/proxy
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@0x90.dk>2015-09-10 01:37:08 +0200
committerAlexander Færøy <ahf@0x90.dk>2015-09-10 01:37:08 +0200
commit7b46dae1825fc90d97163b40cdca2ffaceb2e13c (patch)
tree96146bab7bf0bf8bb2900ab30afed456fb53ae99 /src/irc/proxy
parent762c1d7f2c7478f1e98f847352e6cb3ca889c580 (diff)
parent4346c2a6d479b9c4d94fabc35ade324fdbe0e0d0 (diff)
downloadirssi-7b46dae1825fc90d97163b40cdca2ffaceb2e13c.zip
Merge pull request #248 from LemonBoy/chantypes
Implement CHANTYPES support
Diffstat (limited to 'src/irc/proxy')
-rw-r--r--src/irc/proxy/listen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c
index 2b7c7bda..ae5af5fb 100644
--- a/src/irc/proxy/listen.c
+++ b/src/irc/proxy/listen.c
@@ -262,7 +262,7 @@ static void handle_client_cmd(CLIENT_REC *client, char *cmd, char *args,
ignore_next = TRUE;
if (*msg != '\001' || msg[strlen(msg)-1] != '\001') {
- signal_emit(ischannel(*target) ?
+ signal_emit(server_ischannel(SERVER(client->server), target) ?
"message own_public" : "message own_private", 4,
client->server, msg, target, target);
} else if (strncmp(msg+1, "ACTION ", 7) == 0) {