More slab allocator updates.
[srvx.git] / src / chanserv.h
index b01a944617221e503278f766f2472b76a83e390f..c52e9c7c62a8c1bf76987dd21467bcb5a32cc704 100644 (file)
@@ -71,7 +71,7 @@ enum charOption {
 
 #define IsProtected(x)         ((x)->flags & CHANNEL_NODELETE)
 #define IsSuspended(x)         ((x)->flags & CHANNEL_SUSPENDED)
-#define IsOffChannel(x)         ((x)->flags & CHANNEL_OFFCHANNEL)
+#define IsOffChannel(x)         (((x)->flags & CHANNEL_OFFCHANNEL) && (off_channel > 1))
 
 struct chanData
 {