1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 11:33:12 +02:00

Added some useful Anope::Version functions to prevent some files from unnecessarily rebuilding on every make

This commit is contained in:
DukePyrolator
2011-03-13 03:42:30 -04:00
committed by Adam
parent 15a833283b
commit 3fbf39b25d
14 changed files with 71 additions and 61 deletions
+1 -2
View File
@@ -11,7 +11,6 @@
#include "services.h"
#include "modules.h"
#include "version.h"
IRCDVar myIrcd[] = {
{"ngIRCd", /* ircd name */
@@ -81,7 +80,7 @@ class ngIRCdProto : public IRCDProto
void SendConnect()
{
send_cmd("", "PASS %s 0210-IRC+ Anope|%d.%d.%d:CLHSo P", uplink_server->password.c_str(), VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
send_cmd("", "PASS %s 0210-IRC+ Anope|%s:CLHSo P", uplink_server->password.c_str(), Anope::VersionShort().c_str());
/* Make myself known to myself in the serverlist */
SendServer(Me);
/* finish the enhanced server handshake and register the connection */