summaryrefslogtreecommitdiff
path: root/src/core/servers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/servers.h')
-rw-r--r--src/core/servers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/servers.h b/src/core/servers.h
index c59c7b8c..667a034e 100644
--- a/src/core/servers.h
+++ b/src/core/servers.h
@@ -17,6 +17,9 @@
#define IS_SERVER_CONNECT(conn) \
(SERVER_CONNECT(conn) ? TRUE : FALSE)
+#define server_ischannel(server, channel) \
+ (server)->ischannel(server, channel)
+
/* all strings should be either NULL or dynamically allocated */
/* address and nick are mandatory, rest are optional */
struct _SERVER_CONNECT_REC {