summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-11-02 21:09:21 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-11-02 21:09:21 +0000
commit2ba63e1863f2b51304b9b7613c626a395fd0a778 (patch)
tree8294169a4db8663fc8cd290bb71f68c2645bb52b
parent3c8fbacdde2fbf8527dbce2d0801bf911378cc0b (diff)
downloadirssi-2ba63e1863f2b51304b9b7613c626a395fd0a778.zip
privmsg fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@804 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--default.theme3
-rw-r--r--src/fe-common/core/module-formats.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/default.theme b/default.theme
index 0b796daf..bd9020db 100644
--- a/default.theme
+++ b/default.theme
@@ -31,7 +31,8 @@ abstracts = {
msgownnick = "%W$0-%n";
msgchannel = "%K:%c$0-%n";
msgme = "%Y$0-%n";
- privmsgnick = "[%R$0-%n] "
+ privmsg = "[$0-] "
+ privmsgnick = "%R$0-%n"
privmsghost = "%K(%r$0-%K)%n";
ownprivmsg = "[%r$0-%n] ";
ownprivmsgdest = "%K(%R$0-%K)";
diff --git a/src/fe-common/core/module-formats.c b/src/fe-common/core/module-formats.c
index 43379fa8..ba42964f 100644
--- a/src/fe-common/core/module-formats.c
+++ b/src/fe-common/core/module-formats.c
@@ -98,7 +98,7 @@ FORMAT_REC fecommon_core_formats[] = {
{ "pubmsg_hilight_channel", "{msgnick $4$0$1{msgchannel 2}}$3", 5, { 0, 0, 0, 0, 0 } },
{ "pubmsg", "{msgnick $2$0}$1", 3, { 0, 0, 0 } },
{ "pubmsg_channel", "{msgnick $3$0{msgchannel $1}}$2", 4, { 0, 0, 0, 0 } },
- { "msg_private", "{privmsgnick $0{privmsghost $1}}$2", 3, { 0, 0, 0 } },
+ { "msg_private", "{privmsg {privmsgnick $0{privmsghost $1}}}$2", 3, { 0, 0, 0 } },
{ "msg_private_query", "{msgnick {privmsgnick $0}}$2", 3, { 0, 0, 0 } },
{ "no_msgs_got", "You have not received a message from anyone yet", 0 },
{ "no_msgs_sent", "You have not sent a message to anyone yet", 0 },