mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Display CTCP REPLY in a channel with a different text format than private
CTCP replies git-svn-id: http://svn.irssi.org/repos/irssi/trunk@215 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f45ca3a109
commit
969cfe8abc
3 changed files with 3 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ static void ctcp_default_reply(const char *data, IRC_SERVER_REC *server, const c
|
|||
if (ptr != NULL) *ptr++ = '\0'; else ptr = "";
|
||||
|
||||
printformat(server, ischannel(*target) ? target : nick, MSGLEVEL_CTCPS,
|
||||
IRCTXT_CTCP_REPLY, str, nick, ptr);
|
||||
ischannel(*target) ? IRCTXT_CTCP_REPLY_CHANNEL : IRCTXT_CTCP_REPLY, str, nick, ptr, target);
|
||||
g_free(str);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue