diff options
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c index b6728f0ca..76d571e7d 100644 --- a/src/config.c +++ b/src/config.c @@ -1109,8 +1109,12 @@ int read_config(int reload) NSDefFlags |= NI_SECURE; if (NSDefPrivate) NSDefFlags |= NI_PRIVATE; - if (NSDefMsg) - NSDefFlags |= NI_MSG; + if (NSDefMsg) { + if (!UsePrivmsg) + alog("NSDefMsg can only be used when UsePrivmsg is set - unsetting NSDefMsg"); + else + NSDefFlags |= NI_MSG; + } if (NSDefHideEmail) NSDefFlags |= NI_HIDE_EMAIL; if (NSDefHideUsermask) |