Merge pull request #248 from LemonBoy/chantypes

Implement CHANTYPES support
This commit is contained in:
Alexander Færøy 2015-09-10 01:37:08 +02:00
commit 7b46dae182
25 changed files with 122 additions and 91 deletions

View file

@ -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) {