#include "inspircd.h"
+#include "iohook.h"
#include "main.h"
#include "modules/spanningtree.h"
SetError("Could not find hook '" + link->Hook + "' for connection to " + linkID);
return;
}
- AddIOHook(prov->creator);
+ AddIOHook(static_cast<IOHook*>(prov));
}
DoConnect(ipaddr, link->Port, link->Timeout, link->Bind);
Utils->timeoutlist[this] = std::pair<std::string, int>(linkID, link->Timeout);