diff options
Diffstat (limited to 'include/modules/ssl.h')
-rw-r--r-- | include/modules/ssl.h | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/include/modules/ssl.h b/include/modules/ssl.h index bcda29537..06db2473e 100644 --- a/include/modules/ssl.h +++ b/include/modules/ssl.h @@ -1,15 +1,31 @@ /* + * Anope IRC Services * - * (C) 2010-2017 Anope Team - * Contact us at team@anope.org + * Copyright (C) 2010-2017 Anope Team <team@anope.org> * - * Please read COPYING and README for further details. + * This file is part of Anope. Anope is free software; you can + * redistribute it and/or modify it under the terms of the GNU + * General Public License as published by the Free Software + * Foundation, version 2. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see see <http://www.gnu.org/licenses/>. */ +#pragma once + class SSLService : public Service { public: - SSLService(Module *o, const Anope::string &n) : Service(o, "SSLService", n) { } + static constexpr const char *NAME = "ssl"; + + SSLService(Module *o, const Anope::string &n) : Service(o, NAME, n) { } - virtual void Init(Socket *s) = 0; + virtual void Init(Socket *s) anope_abstract; }; + |