ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
delete ServerInstance->PI;
- ServerInstance->PI = new SpanningTreeProtocolInterface(this, Utils);
+ ServerInstance->PI = new SpanningTreeProtocolInterface(Utils);
loopCall = false;
// update our local user count
class SpanningTreeProtocolInterface : public ProtocolInterface
{
SpanningTreeUtilities* Utils;
- ModuleSpanningTree* Module;
void SendChannel(Channel* target, char status, const std::string &text);
public:
- SpanningTreeProtocolInterface(ModuleSpanningTree* mod, SpanningTreeUtilities* util) : Utils(util), Module(mod) { }
+ SpanningTreeProtocolInterface(SpanningTreeUtilities* util) : Utils(util) { }
virtual ~SpanningTreeProtocolInterface() { }
virtual bool SendEncapsulatedData(const parameterlist &encap);