2 * InspIRCd -- Internet Relay Chat Daemon
4 * Copyright (C) 2018-2021 Sadie Powell <sadie@witchery.services>
5 * Copyright (C) 2015 Robin Burchell <robin+git@viroteck.net>
6 * Copyright (C) 2013-2014, 2016 Attila Molnar <attilamolnar@hush.com>
7 * Copyright (C) 2012, 2019 Robby <robby@chatbelgie.be>
8 * Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org>
9 * Copyright (C) 2007, 2010 Craig Edwards <brain@inspircd.org>
10 * Copyright (C) 2007 Dennis Friis <peavey@inspircd.org>
12 * This file is part of InspIRCd. InspIRCd is free software: you can
13 * redistribute it and/or modify it under the terms of the GNU General Public
14 * License as published by the Free Software Foundation, version 2.
16 * This program is distributed in the hope that it will be useful, but WITHOUT
17 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
21 * You should have received a copy of the GNU General Public License
22 * along with this program. If not, see <http://www.gnu.org/licenses/>.
27 #include "core_info.h"
29 CommandInfo::CommandInfo(Module* parent)
30 : ServerTargetCommand(parent, "INFO")
33 syntax = "[<servername>]";
36 static const char* const lines[] = {
37 " -/\\- \002InspIRCd\002 -\\/-",
38 " November 2002 - Present",
40 "\002Core Developers\002:",
41 " Matt Schatz, genius3000, <genius3000@g3k.solutions>",
42 " Sadie Powell, SadieCat, <sadie@witchery.services>",
44 "\002Former Developers\002:",
45 " Attila Molnar, Attila, <attilamolnar@hush.com>",
46 " Daniel De Graaf, danieldg, <danieldg@inspircd.org>",
47 " Dennis Friis, peavey, <peavey@inspircd.org>",
48 " John Brooks, Special, <special@inspircd.org>",
49 " Matt Smith, dz, <dz@inspircd.org>",
50 " Oliver Lupton, Om, <om@inspircd.org>",
51 " Thomas Stagner, aquanight, <aquanight@inspircd.org>",
52 " Uli Schlachter, psychon, <psychon@inspircd.org>",
54 "\002Founding Developers\002:",
55 " Craig Edwards, Brain, <brain@inspircd.org>",
56 " Craig McLure, Craig, <craig@inspircd.org>",
57 " Robin Burchell, w00t, <w00t@inspircd.org>",
59 "\002Active Contributors\002:",
62 "\002Former Contributors\002:",
63 " Adremelech Ankit AnMaster Bricker",
64 " BuildSmart Burlex CC ChrisTX",
65 " Dan djGrrr dmb eggy",
66 " GreenReaper HiroP jackmcbarn jamie",
67 " Jason jilles John2 kaniini",
68 " LeaChim linuxdaemon MacGyver majic",
69 " Namegduf owine Phoenix pippijn",
70 " praetorian Quension satmd Shawn",
71 " Sheogorath Shutter skenmy Skip",
72 " Stskeeps Taros ThaPrince Thunderhacker",
76 " Asmo Brik fraggeln prawnsalad",
78 " Best experienced with \002an IRC client\002",
84 CmdResult CommandInfo::Handle(User* user, const Params& parameters)
86 if (parameters.size() > 0 && !irc::equals(parameters[0], ServerInstance->Config->ServerName))
91 user->WriteRemoteNumeric(RPL_INFO, lines[i++]);
93 user->WriteRemoteNumeric(RPL_ENDOFINFO, "End of /INFO list");