* Merged a splitted window bug from Irssi CVS tree. The affected
file is irssi/src/fe-text/textbuffer-view.c.
+ * Fixed the ME, ACTION and NOTICE printing in Irssi Client.
+ It did not print nickname.
+
Mon Jun 4 17:57:16 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
* Merged /WINDOW bugfix from irssi CVS tree. Affected file is
##
# Generic action
- action = "%Y* $0-";
+ action = "%Y* $0 $1-";
# Own sent action
- ownaction = "%c* $0-";
+ ownaction = "%c* $0 $1-";
##
## Notice (/NOTICE command)
##
# Generic notice
- notice = "%C- $0-";
+ notice = "%C- $0 $1-";
# Own sent notice
- ownnotice = "%g- $0";
+ ownnotice = "%g- $0 $1-";
##
{ "channel_topic", "Topic for {channel $0} is: $1", 2, { 0, 0 } },
{ "cmode", "channel mode/{channel $0} {mode $1} by {nick $2}", 3, { 0, 0, 0 } },
{ "cumode", "channel user mode/{channel $0}/{nick $1} {mode $2} by {nick $3}", 4, { 0, 0, 0, 0 } },
- { "action", "{action $0}", 1, { 0 } },
- { "notice", "{notice $0}", 1, { 0 } },
- { "ownaction", "{ownaction $0}", 1, { 0 } },
- { "ownnotice", "{ownnotice $0}", 1, { 0 } },
+ { "action", "{action $0-}", 2, { 0, 0 } },
+ { "notice", "{notice $0-}", 2, { 0, 0 } },
+ { "ownaction", "{ownaction $0-}", 2, { 0, 0 } },
+ { "ownnotice", "{ownnotice $0-}", 2, { 0, 0 } },
{ "invite_list", "channel {channel $0} invite list: $1", 2, { 0, 0 } },
{ "no_invite_list", "channel {channel $0} invite list not set", 1, { 0 } },
{ "ban_list", "channel {channel $0} ban list: $1", 2, { 0, 0 } },
if (flags & SILC_MESSAGE_FLAG_ACTION)
printformat_module("fe-common/silc", server, channel->channel_name,
- MSGLEVEL_ACTIONS, SILCTXT_CHANNEL_ACTION, msg);
+ MSGLEVEL_ACTIONS, SILCTXT_CHANNEL_ACTION,
+ nick == NULL ? "[<unknown>]" : nick->nick, msg);
else if (flags & SILC_MESSAGE_FLAG_NOTICE)
printformat_module("fe-common/silc", server, channel->channel_name,
- MSGLEVEL_NOTICES, SILCTXT_CHANNEL_NOTICE, msg);
+ MSGLEVEL_NOTICES, SILCTXT_CHANNEL_NOTICE,
+ nick == NULL ? "[<unknown>]" : nick->nick, msg);
else
signal_emit("message public", 6, server, msg,
nick == NULL ? "[<unknown>]" : nick->nick,
argv[1], argv_lens[1], TRUE);
printformat_module("fe-common/silc", server, chanrec->entry->channel_name,
- MSGLEVEL_ACTIONS, SILCTXT_CHANNEL_OWNACTION, argv[1]);
+ MSGLEVEL_ACTIONS, SILCTXT_CHANNEL_OWNACTION,
+ server->conn->local_entry->nickname, argv[1]);
for (i = 0; i < argc; i++)
silc_free(argv[i]);
argv[2], argv_lens[2], TRUE);
printformat_module("fe-common/silc", server, chanrec->entry->channel_name,
- MSGLEVEL_ACTIONS, SILCTXT_CHANNEL_OWNACTION, argv[2]);
+ MSGLEVEL_ACTIONS, SILCTXT_CHANNEL_OWNACTION,
+ server->conn->local_entry->nickname, argv[2]);
for (i = 0; i < argc; i++)
silc_free(argv[i]);
argv[1], argv_lens[1], TRUE);
printformat_module("fe-common/silc", server, chanrec->entry->channel_name,
- MSGLEVEL_NOTICES, SILCTXT_CHANNEL_OWNNOTICE, argv[1]);
+ MSGLEVEL_NOTICES, SILCTXT_CHANNEL_OWNNOTICE,
+ server->conn->local_entry->nickname, argv[1]);
for (i = 0; i < argc; i++)
silc_free(argv[i]);