diff options
author | Timo Sirainen <cras@irssi.org> | 2001-06-26 22:04:54 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-06-26 22:04:54 +0000 |
commit | f5a161bee9f4e6e5563b67116ff4f736d146db99 (patch) | |
tree | ee71e2d1fa3a73509e781a42d0c01d90e83eab56 /src/fe-common/irc/module-formats.c | |
parent | 6362ab86f610fcb1ed4a81f025ec2d2e1caa6ba5 (diff) | |
download | irssi-f5a161bee9f4e6e5563b67116ff4f736d146db99.zip |
added whois abstract to themes. should make it easier to change whois output
in theme
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1570 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 | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/fe-common/irc/module-formats.c b/src/fe-common/irc/module-formats.c index 054c50bd..fd263f40 100644 --- a/src/fe-common/irc/module-formats.c +++ b/src/fe-common/irc/module-formats.c @@ -94,20 +94,20 @@ FORMAT_REC fecommon_irc_formats[] = { /* ---- */ { NULL, "Who queries", 0 }, - { "whois", "{nick $0} {nickhost $1@$2}%: ircname : $3", 4, { 0, 0, 0, 0 } }, - { "whowas", "{nick $0} {nickhost $1@$2}%: ircname : $3", 4, { 0, 0, 0, 0 } }, - { "whois_idle", " idle : $1 days $2 hours $3 mins $4 secs", 5, { 0, 1, 1, 1, 1 } }, - { "whois_idle_signon", " idle : $1 days $2 hours $3 mins $4 secs {comment signon: $5}", 6, { 0, 1, 1, 1, 1, 0 } }, - { "whois_server", " server : $1 {comment $2}", 3, { 0, 0, 0 } }, - { "whois_oper", " : {hilight IRC operator}", 1, { 0 } }, - { "whois_oper_type", " : {hilight $1}", 2, { 0, 0 } }, - { "whois_registered", " : has registered this nick", 1, { 0 } }, - { "whois_help", " : is available for help", 1, { 0 } }, - { "whois_modes", " modes : $1", 2, { 0, 0 } }, - { "whois_realhost", " hostname : $1", 2, { 0, 0 } }, - { "whois_channels", " channels : $1", 2, { 0, 0 } }, - { "whois_away", " away : $1", 2, { 0, 0 } }, - { "whois_special", " : $1", 2, { 0, 0 } }, + { "whois", "{nick $0} {nickhost $1@$2}%:{whois ircname $3}", 4, { 0, 0, 0, 0 } }, + { "whowas", "{nick $0} {nickhost $1@$2}%:{whois ircname $3}", 4, { 0, 0, 0, 0 } }, + { "whois_idle", "{whois idle %|$1 days $2 hours $3 mins $4 secs}", 5, { 0, 1, 1, 1, 1 } }, + { "whois_idle_signon", "{whois idle %|$1 days $2 hours $3 mins $4 secs {comment signon: $5}}", 6, { 0, 1, 1, 1, 1, 0 } }, + { "whois_server", "{whois server %|$1 {comment $2}}", 3, { 0, 0, 0 } }, + { "whois_oper", "{whois {hilight IRC operator}}", 1, { 0 } }, + { "whois_oper_type", "{whois {hilight $1}}", 2, { 0, 0 } }, + { "whois_registered", "{whois has registered this nick}", 1, { 0 } }, + { "whois_help", "{whois is available for help}", 1, { 0 } }, + { "whois_modes", " {whois modes $1}", 2, { 0, 0 } }, + { "whois_realhost", "{whois hostname $1}", 2, { 0, 0 } }, + { "whois_channels", "{whois channels %|$1}", 2, { 0, 0 } }, + { "whois_away", " {whois away %|$1}", 2, { 0, 0 } }, + { "whois_special", "{whois %|{hilight $1}}", 2, { 0, 0 } }, { "end_of_whois", "End of WHOIS", 1, { 0 } }, { "end_of_whowas", "End of WHOWAS", 1, { 0 } }, { "whois_not_found", "There is no such nick $0", 1, { 0 } }, |