#include "protocol.h"
#include "bancache.h"
-/** Returned by some functions to indicate failure.
- */
-#define ERROR -1
-
/** Template function to convert any input type to std::string
*/
template<typename T> inline std::string ConvNumeric(const T &in)
/** Command parser, handles client to server commands
*/
- CommandParser* Parser;
+ CommandParser Parser;
/** Thread engine, Handles threading where required
*/
/** BanCacheManager is used to speed up checking of restrictions on connection
* to the IRCd.
*/
- BanCacheManager *BanCache;
+ BanCacheManager BanCache;
/** Stats class, holds miscellaneous stats counters
*/
*/
ProtocolInterface* PI;
+ /** Default implementation of the ProtocolInterface, does nothing
+ */
+ ProtocolInterface DefaultProtocolInterface;
+
/** Holds extensible for user operquit
*/
StringExtItem OperQuit;