X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodules%2Fsasl.h;h=8ba20964902607a5ec167f1b7ae4d0ee7e2182aa;hb=635cb9d65f6d7f6758ae8ed874da00c8d94b6e39;hp=321711a689723c929351421cca3b80c790256f83;hpb=f62654a6859998f9d63eb22702c572d5ebcff15c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modules/sasl.h b/include/modules/sasl.h index 321711a68..8ba209649 100644 --- a/include/modules/sasl.h +++ b/include/modules/sasl.h @@ -1,6 +1,9 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2015 Attila Molnar + * Copyright (C) 2013, 2018 Sadie Powell + * Copyright (C) 2012 Robby * Copyright (C) 2010 Daniel De Graaf * * This file is part of InspIRCd. InspIRCd is free software: you can @@ -19,13 +22,15 @@ #pragma once -class SASLFallback : public Event +#include "event.h" + +class SASLEventListener : public Events::ModuleEventListener { public: - const parameterlist& params; - SASLFallback(Module* me, const parameterlist& p) - : Event(me, "sasl_fallback"), params(p) + SASLEventListener(Module* mod) + : ModuleEventListener(mod, "event/sasl") { - Send(); } + + virtual void OnSASLAuth(const CommandBase::Params& params) = 0; };