diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-10 10:51:14 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-10 10:51:14 +0000 |
commit | 9a3af7072a03c158f8d714f2ab635fdede29e1ac (patch) | |
tree | c2267cf01a2441116c30318296f195a34de3c4b0 /src/fe-common/irc/module-formats.c | |
parent | c674db5c8ef5c32933f39055029e07a6ce18a62a (diff) | |
download | irssi-9a3af7072a03c158f8d714f2ab635fdede29e1ac.zip |
Default event handler now prints the server name where it received the
event, unless it's the server we're connected to. /FORMAT default_event can
be used to modify where/if the server name is printed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2409 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/module-formats.c')
-rw-r--r-- | src/fe-common/irc/module-formats.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/irc/module-formats.c b/src/fe-common/irc/module-formats.c index 9e6ba00d..6a650b1f 100644 --- a/src/fe-common/irc/module-formats.c +++ b/src/fe-common/irc/module-formats.c @@ -152,6 +152,7 @@ FORMAT_REC fecommon_irc_formats[] = { { "error", "{error ERROR} $0", 1, { 0 } }, { "unknown_mode", "Unknown mode character $0", 1, { 0 } }, { "not_chanop", "You're not channel operator in {channel $0}", 1, { 0 } }, + { "default_event", "[$0] $1", 2, { 0, 0 } }, /* ---- */ { NULL, "Misc", 0 }, |