(thanks to the people reading git and excessively exploiting this bug... It was undet...
[NeonServV5.git] / src / BanNode.h
index 024f86062019d5ccdbb55e5d1aa0d84e1a2fc2bb..8fa96fd7b4305bb4665d1af193218deee8faa2f6 100644 (file)
@@ -1,5 +1,5 @@
-/* BanNode.h - NeonServ v5.0
- * Copyright (C) 2011  Philipp Kreil (pk910)
+/* BanNode.h - NeonServ v5.6
+ * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -27,10 +27,12 @@ struct BanNode {
     struct BanNode *next;
 };
 
+#ifndef DND_FUNCTIONS
 struct BanNode* addChannelBan(struct ChanNode *chan, char *mask);
-struct BanNode* getMatchingChannelBan(struct ChanNode *chan, char *mask);
+/* MODULAR ACCESSIBLE */ struct BanNode* getMatchingChannelBan(struct ChanNode *chan, char *mask);
 void removeChannelBanMask(struct ChanNode *chan, char *mask);
 void removeChannelBan(struct BanNode *ban);
 void removeChannelBans(struct ChanNode *chan);
+#endif
 
 #endif
\ No newline at end of file