X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2FBanNode.h;h=b5be8466efd2a2d8c689132a29fdbffd6c1d3d80;hb=78e040af3fcc36ab684611c0f98b4381ff420878;hp=01a524a4ceae4b9bf5af797cc14e4e08f07e0c2c;hpb=44436a96352a38631237978c9fd431cef3d85cfb;p=NeonServV5.git diff --git a/src/BanNode.h b/src/BanNode.h index 01a524a..b5be846 100644 --- a/src/BanNode.h +++ b/src/BanNode.h @@ -1,5 +1,5 @@ -/* BanNode.h - NeonServ v5.3 - * Copyright (C) 2011 Philipp Kreil (pk910) +/* BanNode.h - NeonServ v5.5 + * 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