mirror of
https://github.com/anope/anope.git
synced 2026-07-03 13:03:14 +02:00
Changed the versioning system to use git
This commit is contained in:
@@ -803,7 +803,6 @@ class ProtoBahamut : public Module
|
||||
ProtoBahamut(const std::string &modname, const std::string &creator) : Module(modname, creator)
|
||||
{
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion(VERSION_STRING);
|
||||
this->SetType(PROTOCOL);
|
||||
|
||||
pmodule_ircd_version("BahamutIRCd 1.4.*/1.8.*");
|
||||
|
||||
@@ -248,7 +248,7 @@ class InspIRCdProto : public IRCDProto
|
||||
inspircd_cmd_pass(uplink_server->password);
|
||||
SendServer(Me);
|
||||
send_cmd(NULL, "BURST");
|
||||
send_cmd(Config.ServerName, "VERSION :Anope-%s %s :%s - (%s) -- %s", version_number, Config.ServerName, ircd->name, Config.EncModuleList.begin()->c_str(), version_build);
|
||||
send_cmd(Config.ServerName, "VERSION :Anope-%s %s :%s - (%s) -- %s", Anope::Version().c_str(), Config.ServerName, ircd->name, Config.EncModuleList.begin()->c_str(), Anope::Build().c_str());
|
||||
}
|
||||
|
||||
/* CHGIDENT */
|
||||
@@ -1160,7 +1160,6 @@ class ProtoInspIRCd : public Module
|
||||
ProtoInspIRCd(const std::string &modname, const std::string &creator) : Module(modname, creator)
|
||||
{
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion(VERSION_STRING);
|
||||
this->SetType(PROTOCOL);
|
||||
|
||||
pmodule_ircd_version("InspIRCd 1.1");
|
||||
|
||||
@@ -252,7 +252,7 @@ class InspIRCdProto : public IRCDProto
|
||||
inspircd_cmd_pass(uplink_server->password);
|
||||
SendServer(Me);
|
||||
send_cmd(TS6SID, "BURST");
|
||||
send_cmd(TS6SID, "VERSION :Anope-%s %s :%s - (%s) -- %s", version_number, Config.ServerName, ircd->name, Config.EncModuleList.begin()->c_str(), version_build);
|
||||
send_cmd(TS6SID, "VERSION :Anope-%s %s :%s - (%s) -- %s", Anope::Version().c_str(), Config.ServerName, ircd->name, Config.EncModuleList.begin()->c_str(), Anope::Build().c_str());
|
||||
}
|
||||
|
||||
/* CHGIDENT */
|
||||
@@ -1370,7 +1370,6 @@ class ProtoInspIRCd : public Module
|
||||
ProtoInspIRCd(const std::string &modname, const std::string &creator) : Module(modname, creator)
|
||||
{
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion(VERSION_STRING);
|
||||
this->SetType(PROTOCOL);
|
||||
|
||||
if (Config.Numeric)
|
||||
|
||||
@@ -251,7 +251,7 @@ class InspIRCdProto : public IRCDProto
|
||||
inspircd_cmd_pass(uplink_server->password);
|
||||
SendServer(Me);
|
||||
send_cmd(TS6SID, "BURST");
|
||||
send_cmd(TS6SID, "VERSION :Anope-%s %s :%s - (%s) -- %s", version_number, Config.ServerName, ircd->name, Config.EncModuleList.begin()->c_str(), version_build);
|
||||
send_cmd(TS6SID, "VERSION :Anope-%s %s :%s - (%s) -- %s", Anope::Version().c_str(), Config.ServerName, ircd->name, Config.EncModuleList.begin()->c_str(), Anope::Build().c_str());
|
||||
}
|
||||
|
||||
/* CHGIDENT */
|
||||
@@ -1369,7 +1369,6 @@ class ProtoInspIRCd : public Module
|
||||
ProtoInspIRCd(const std::string &modname, const std::string &creator) : Module(modname, creator)
|
||||
{
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion(VERSION_STRING);
|
||||
this->SetType(PROTOCOL);
|
||||
|
||||
if (Config.Numeric)
|
||||
|
||||
@@ -869,7 +869,6 @@ class ProtoRatbox : public Module
|
||||
ProtoRatbox(const std::string &modname, const std::string &creator) : Module(modname, creator)
|
||||
{
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion(VERSION_STRING);
|
||||
this->SetType(PROTOCOL);
|
||||
|
||||
if (Config.Numeric)
|
||||
|
||||
@@ -1319,7 +1319,6 @@ class ProtoUnreal : public Module
|
||||
ProtoUnreal(const std::string &modname, const std::string &creator) : Module(modname, creator)
|
||||
{
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion(VERSION_STRING);
|
||||
this->SetType(PROTOCOL);
|
||||
|
||||
pmodule_ircd_version("UnrealIRCd 3.2+");
|
||||
|
||||
Reference in New Issue
Block a user