summaryrefslogtreecommitdiff
path: root/src/core/nicklist.h
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@irssi.org>2008-11-28 00:16:51 +0000
committerjilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-11-28 00:16:51 +0000
commit89cd47bf3a937c3077acdc95d98cc4b389e30608 (patch)
treee96f73aa452cc2fbec41f45f973cfaf42acacb3a /src/core/nicklist.h
parentaefa7b47c14f2bd8801b233907a84de4f6eee3b8 (diff)
downloadirssi-89cd47bf3a937c3077acdc95d98cc4b389e30608.zip
Allow storing multiple "other" prefixes such as +q and +a.
Original patch by JasonX, somewhat changed by exg and me. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4922 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/nicklist.h')
-rw-r--r--src/core/nicklist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/nicklist.h b/src/core/nicklist.h
index 7712af65..55dfd5ef 100644
--- a/src/core/nicklist.h
+++ b/src/core/nicklist.h
@@ -8,6 +8,8 @@
#define IS_NICK(server) \
(NICK(server) ? TRUE : FALSE)
+#define MAX_USER_PREFIXES 7 /* Max prefixes kept for any user-in-chan. 7+1 is a memory unit */
+
struct _NICK_REC {
#include "nick-rec.h"
};