summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-15 13:04:03 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-15 13:04:03 +0000
commit796d51afe4600377735a7d91f17796d048574ed5 (patch)
tree5361253a276cd102f64f236aab65ed73aaa7a555 /src/core
parent1b736a68a7b476394a24a6031db4b2b4d716b5de (diff)
downloadirssi-796d51afe4600377735a7d91f17796d048574ed5.zip
Fixed DCC stuff. Added DCCMSGS level for DCC chat messages.
Actions match now either MSGS or PUBLIC level as well as the ACTIONS level always. Added DCCMSGS level to default highlight levels. Highlighting works with other than public messages now even if -nick option is used. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@463 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r--src/core/levels.c1
-rw-r--r--src/core/levels.h11
2 files changed, 7 insertions, 5 deletions
diff --git a/src/core/levels.c b/src/core/levels.c
index 8618f340..e5b64887 100644
--- a/src/core/levels.c
+++ b/src/core/levels.c
@@ -40,6 +40,7 @@ static const char *levels[] =
"INVITES",
"NICKS",
"DCC",
+ "DCCMSGS",
"CLIENTNOTICES",
"CLIENTCRAP",
"CLIENTERRORS",
diff --git a/src/core/levels.h b/src/core/levels.h
index ccaf6daa..ad4bcf05 100644
--- a/src/core/levels.h
+++ b/src/core/levels.h
@@ -24,12 +24,13 @@
#define MSGLEVEL_INVITES 0x0004000
#define MSGLEVEL_NICKS 0x0008000
#define MSGLEVEL_DCC 0x0010000
-#define MSGLEVEL_CLIENTNOTICE 0x0020000
-#define MSGLEVEL_CLIENTCRAP 0x0040000
-#define MSGLEVEL_CLIENTERROR 0x0080000
-#define MSGLEVEL_HILIGHT 0x0100000
+#define MSGLEVEL_DCCMSGS 0x0020000
+#define MSGLEVEL_CLIENTNOTICE 0x0040000
+#define MSGLEVEL_CLIENTCRAP 0x0080000
+#define MSGLEVEL_CLIENTERROR 0x0100000
+#define MSGLEVEL_HILIGHT 0x0200000
-#define MSGLEVEL_ALL 0x01fffff
+#define MSGLEVEL_ALL 0x03fffff
#define MSGLEVEL_NOHILIGHT 0x1000000 /* Don't try to hilight words in this message */
#define MSGLEVEL_NO_ACT 0x2000000 /* Don't trigger channel activity */