mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Reply to clients which send IRSSILAG notices to themselves.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@935 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
de0e6b0184
commit
03b3322432
@ -156,6 +156,13 @@ static void handle_client_cmd(CLIENT_REC *client, char *cmd, char *args)
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (strcmp(cmd, "NOTICE") == 0) {
|
||||
char *str = g_strdup_printf("%s :\001IRSSILAG ", client->nick);
|
||||
|
||||
if (strncmp(args, str, strlen(str)) == 0)
|
||||
proxy_outserver(client, "NOTICE %s", args);
|
||||
g_free(str);
|
||||
}
|
||||
|
||||
if (client->server == NULL || !client->server->connected) {
|
||||
proxy_outdata(client, ":%s NOTICE %s :Not connected to server",
|
||||
|
Loading…
x
Reference in New Issue
Block a user