mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02: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
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue