summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-25 20:35:51 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-25 20:35:51 +0000
commit8de87c2a9b5f5e68caac1ca06b1021ed69cb3d6a (patch)
tree976f90c27673acbfead92363c964ae69d7a2cb67 /src/modules
parent31b232eec07d0b85ce2cc7c4ebc5d5387f781dcb (diff)
Change module versions to use a string instead of fixed digits, and use propset ID to auto-set versions, so we don't have (essentially unused) module versions.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_abbreviation.cpp2
-rw-r--r--src/modules/m_alias.cpp2
-rw-r--r--src/modules/m_allowinvite.cpp2
-rw-r--r--src/modules/m_alltime.cpp2
-rw-r--r--src/modules/m_antibear.cpp2
-rw-r--r--src/modules/m_antibottler.cpp2
-rw-r--r--src/modules/m_auditorium.cpp2
-rw-r--r--src/modules/m_banexception.cpp2
-rw-r--r--src/modules/m_banredirect.cpp2
-rw-r--r--src/modules/m_blockamsg.cpp2
-rw-r--r--src/modules/m_blockcaps.cpp2
-rw-r--r--src/modules/m_blockcolor.cpp2
-rw-r--r--src/modules/m_botmode.cpp2
-rw-r--r--src/modules/m_callerid.cpp2
-rw-r--r--src/modules/m_cap.cpp2
-rw-r--r--src/modules/m_cban.cpp2
-rw-r--r--src/modules/m_censor.cpp2
-rw-r--r--src/modules/m_cgiirc.cpp2
-rw-r--r--src/modules/m_chancreate.cpp2
-rw-r--r--src/modules/m_chanfilter.cpp2
-rw-r--r--src/modules/m_chanlog.cpp2
-rw-r--r--src/modules/m_channelban.cpp2
-rw-r--r--src/modules/m_chanprotect.cpp2
-rw-r--r--src/modules/m_check.cpp2
-rw-r--r--src/modules/m_chghost.cpp2
-rw-r--r--src/modules/m_chgident.cpp2
-rw-r--r--src/modules/m_chgname.cpp2
-rw-r--r--src/modules/m_cloaking.cpp2
-rw-r--r--src/modules/m_clones.cpp2
-rw-r--r--src/modules/m_close.cpp2
-rw-r--r--src/modules/m_commonchans.cpp2
-rw-r--r--src/modules/m_conn_join.cpp2
-rw-r--r--src/modules/m_conn_umodes.cpp2
-rw-r--r--src/modules/m_conn_waitpong.cpp2
-rw-r--r--src/modules/m_connectban.cpp2
-rw-r--r--src/modules/m_connflood.cpp2
-rw-r--r--src/modules/m_customtitle.cpp2
-rw-r--r--src/modules/m_cycle.cpp2
-rw-r--r--src/modules/m_dccallow.cpp2
-rw-r--r--src/modules/m_deaf.cpp2
-rw-r--r--src/modules/m_delayjoin.cpp2
-rw-r--r--src/modules/m_denychans.cpp2
-rw-r--r--src/modules/m_devoice.cpp2
-rw-r--r--src/modules/m_dnsbl.cpp2
-rw-r--r--src/modules/m_filter.h2
-rw-r--r--src/modules/m_foobar.cpp2
-rw-r--r--src/modules/m_gecosban.cpp2
-rw-r--r--src/modules/m_globalload.cpp2
-rw-r--r--src/modules/m_globops.cpp2
-rw-r--r--src/modules/m_helpop.cpp2
-rw-r--r--src/modules/m_hidechans.cpp2
-rw-r--r--src/modules/m_hideoper.cpp2
-rw-r--r--src/modules/m_hostchange.cpp2
-rw-r--r--src/modules/m_httpd.cpp2
-rw-r--r--src/modules/m_httpd_acl.cpp2
-rw-r--r--src/modules/m_httpd_config.cpp2
-rw-r--r--src/modules/m_httpd_stats.cpp4
-rw-r--r--src/modules/m_ident.cpp2
-rw-r--r--src/modules/m_invisible.cpp2
-rw-r--r--src/modules/m_inviteexception.cpp2
-rw-r--r--src/modules/m_joinflood.cpp2
-rw-r--r--src/modules/m_jumpserver.cpp2
-rw-r--r--src/modules/m_kicknorejoin.cpp2
-rw-r--r--src/modules/m_knock.cpp2
-rw-r--r--src/modules/m_lockserv.cpp2
-rw-r--r--src/modules/m_maphide.cpp2
-rw-r--r--src/modules/m_md5.cpp2
-rw-r--r--src/modules/m_messageflood.cpp2
-rw-r--r--src/modules/m_muteban.cpp2
-rw-r--r--src/modules/m_namesx.cpp2
-rw-r--r--src/modules/m_nickflood.cpp2
-rw-r--r--src/modules/m_nicklock.cpp2
-rw-r--r--src/modules/m_noctcp.cpp2
-rw-r--r--src/modules/m_nokicks.cpp5
-rw-r--r--src/modules/m_nonicks.cpp2
-rw-r--r--src/modules/m_nonotice.cpp2
-rw-r--r--src/modules/m_nopartmsg.cpp2
-rw-r--r--src/modules/m_operchans.cpp2
-rw-r--r--src/modules/m_operflood.cpp3
-rw-r--r--src/modules/m_operjoin.cpp2
-rw-r--r--src/modules/m_operlevels.cpp5
-rw-r--r--src/modules/m_operlog.cpp2
-rw-r--r--src/modules/m_opermodes.cpp2
-rw-r--r--src/modules/m_opermotd.cpp2
-rw-r--r--src/modules/m_override.cpp3
-rw-r--r--src/modules/m_password_hash.cpp2
-rw-r--r--src/modules/m_permchannels.cpp2
-rw-r--r--src/modules/m_randquote.cpp2
-rw-r--r--src/modules/m_redirect.cpp2
-rw-r--r--src/modules/m_regonlycreate.cpp2
-rw-r--r--src/modules/m_remove.cpp2
-rw-r--r--src/modules/m_restrictbanned.cpp2
-rw-r--r--src/modules/m_restrictchans.cpp2
-rw-r--r--src/modules/m_restrictmsg.cpp2
-rw-r--r--src/modules/m_ripemd160.cpp2
-rw-r--r--src/modules/m_rpc_json.cpp2
-rw-r--r--src/modules/m_rpctest.cpp2
-rw-r--r--src/modules/m_safelist.cpp2
-rw-r--r--src/modules/m_sajoin.cpp2
-rw-r--r--src/modules/m_samode.cpp2
-rw-r--r--src/modules/m_sanick.cpp2
-rw-r--r--src/modules/m_sapart.cpp2
-rw-r--r--src/modules/m_saquit.cpp2
-rw-r--r--src/modules/m_sasl.cpp2
-rw-r--r--src/modules/m_satopic.cpp2
-rw-r--r--src/modules/m_securelist.cpp2
-rw-r--r--src/modules/m_seenicks.cpp2
-rw-r--r--src/modules/m_serverban.cpp2
-rw-r--r--src/modules/m_services.cpp2
-rw-r--r--src/modules/m_services_account.cpp2
-rw-r--r--src/modules/m_servprotect.cpp2
-rw-r--r--src/modules/m_sethost.cpp2
-rw-r--r--src/modules/m_setident.cpp2
-rw-r--r--src/modules/m_setidle.cpp2
-rw-r--r--src/modules/m_setname.cpp2
-rw-r--r--src/modules/m_sha256.cpp2
-rw-r--r--src/modules/m_showwhois.cpp2
-rw-r--r--src/modules/m_shun.cpp2
-rw-r--r--src/modules/m_silence.cpp2
-rw-r--r--src/modules/m_spanningtree/main.cpp2
-rw-r--r--src/modules/m_spy.cpp2
-rw-r--r--src/modules/m_ssl_dummy.cpp2
-rw-r--r--src/modules/m_sslmodes.cpp2
-rw-r--r--src/modules/m_stripcolor.cpp2
-rw-r--r--src/modules/m_svshold.cpp2
-rw-r--r--src/modules/m_swhois.cpp2
-rw-r--r--src/modules/m_taxonomy.cpp2
-rw-r--r--src/modules/m_testcommand.cpp2
-rw-r--r--src/modules/m_timedbans.cpp2
-rw-r--r--src/modules/m_tline.cpp2
-rw-r--r--src/modules/m_uhnames.cpp2
-rw-r--r--src/modules/m_uninvite.cpp2
-rw-r--r--src/modules/m_userip.cpp2
-rw-r--r--src/modules/m_vhost.cpp2
-rw-r--r--src/modules/m_watch.cpp2
-rw-r--r--src/modules/m_xline_db.cpp2
-rw-r--r--src/modules/m_xmlsocket.cpp2
137 files changed, 138 insertions, 146 deletions
diff --git a/src/modules/m_abbreviation.cpp b/src/modules/m_abbreviation.cpp
index dc298d726..3bc4c9193 100644
--- a/src/modules/m_abbreviation.cpp
+++ b/src/modules/m_abbreviation.cpp
@@ -30,7 +30,7 @@ class ModuleAbbreviation : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
virtual int OnPreCommand(std::string &command, std::vector<std::string> &parameters, User *user, bool validated, const std::string &original_line)
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index 118c38287..8f581ffba 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -84,7 +84,7 @@ class ModuleAlias : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR,API_VERSION);
}
std::string GetVar(std::string varname, const std::string &original_line)
diff --git a/src/modules/m_allowinvite.cpp b/src/modules/m_allowinvite.cpp
index fcd8130bc..e32c39082 100644
--- a/src/modules/m_allowinvite.cpp
+++ b/src/modules/m_allowinvite.cpp
@@ -62,7 +62,7 @@ class ModuleAllowInvite : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_COMMON|VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_alltime.cpp b/src/modules/m_alltime.cpp
index b0ccd2886..34fc5e63f 100644
--- a/src/modules/m_alltime.cpp
+++ b/src/modules/m_alltime.cpp
@@ -67,7 +67,7 @@ class Modulealltime : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_antibear.cpp b/src/modules/m_antibear.cpp
index 77b817b54..930ebafbb 100644
--- a/src/modules/m_antibear.cpp
+++ b/src/modules/m_antibear.cpp
@@ -34,7 +34,7 @@ class ModuleAntiBear : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
virtual int OnPreCommand(std::string &command, std::vector<std::string> &parameters, User *user, bool validated, const std::string &original_line)
diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp
index cd177fd8e..268523084 100644
--- a/src/modules/m_antibottler.cpp
+++ b/src/modules/m_antibottler.cpp
@@ -34,7 +34,7 @@ class ModuleAntiBottler : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
virtual int OnPreCommand(std::string &command, std::vector<std::string> &parameters, User *user, bool validated, const std::string &original_line)
diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp
index 6563cd3be..023cb7adf 100644
--- a/src/modules/m_auditorium.cpp
+++ b/src/modules/m_auditorium.cpp
@@ -83,7 +83,7 @@ class ModuleAuditorium : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
virtual void OnNamesListItem(User* issuer, User* user, Channel* channel, std::string &prefixes, std::string &nick)
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp
index 7ad8a1fdd..34a52f82b 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -183,7 +183,7 @@ public:
virtual Version GetVersion()
{
- return Version(1, 2, 0, 3, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
virtual ~ModuleBanException()
diff --git a/src/modules/m_banredirect.cpp b/src/modules/m_banredirect.cpp
index 92c25e0bd..bfe6697e4 100644
--- a/src/modules/m_banredirect.cpp
+++ b/src/modules/m_banredirect.cpp
@@ -332,7 +332,7 @@ class ModuleBanRedirect : public Module
virtual Version GetVersion()
{
- return Version(1, 0, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
void Prioritize()
diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp
index 9d42571e2..ee81aebdb 100644
--- a/src/modules/m_blockamsg.cpp
+++ b/src/modules/m_blockamsg.cpp
@@ -58,7 +58,7 @@ class ModuleBlockAmsg : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
virtual void OnRehash(User* user, const std::string &parameter)
diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp
index aa91b6bcd..332245844 100644
--- a/src/modules/m_blockcaps.cpp
+++ b/src/modules/m_blockcaps.cpp
@@ -134,7 +134,7 @@ public:
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_COMMON|VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_blockcolor.cpp b/src/modules/m_blockcolor.cpp
index 1663b981e..bcc6f93b5 100644
--- a/src/modules/m_blockcolor.cpp
+++ b/src/modules/m_blockcolor.cpp
@@ -89,7 +89,7 @@ class ModuleBlockColour : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_COMMON|VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp
index 2aa425643..025e9cf3b 100644
--- a/src/modules/m_botmode.cpp
+++ b/src/modules/m_botmode.cpp
@@ -48,7 +48,7 @@ class ModuleBotMode : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_COMMON|VF_VENDOR,API_VERSION);
}
virtual void OnWhois(User* src, User* dst)
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp
index 76f2ec95a..9eb7ff37d 100644
--- a/src/modules/m_callerid.cpp
+++ b/src/modules/m_callerid.cpp
@@ -306,7 +306,7 @@ public:
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
virtual void On005Numeric(std::string& output)
diff --git a/src/modules/m_cap.cpp b/src/modules/m_cap.cpp
index b56300ba8..ca2e861e2 100644
--- a/src/modules/m_cap.cpp
+++ b/src/modules/m_cap.cpp
@@ -164,7 +164,7 @@ class ModuleCAP : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp
index 0452bff7c..472b5ad09 100644
--- a/src/modules/m_cban.cpp
+++ b/src/modules/m_cban.cpp
@@ -199,7 +199,7 @@ class ModuleCBan : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp
index 0a90d1025..e561b80a1 100644
--- a/src/modules/m_censor.cpp
+++ b/src/modules/m_censor.cpp
@@ -150,7 +150,7 @@ class ModuleCensor : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_COMMON|VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp
index 564702a16..73cc95f54 100644
--- a/src/modules/m_cgiirc.cpp
+++ b/src/modules/m_cgiirc.cpp
@@ -519,7 +519,7 @@ public:
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_chancreate.cpp b/src/modules/m_chancreate.cpp
index 77896771e..d73437ea0 100644
--- a/src/modules/m_chancreate.cpp
+++ b/src/modules/m_chancreate.cpp
@@ -34,7 +34,7 @@ class ModuleChanCreate : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp
index d70f4a270..30f602a5d 100644
--- a/src/modules/m_chanfilter.cpp
+++ b/src/modules/m_chanfilter.cpp
@@ -136,7 +136,7 @@ class ModuleChanFilter : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
virtual ~ModuleChanFilter()
diff --git a/src/modules/m_chanlog.cpp b/src/modules/m_chanlog.cpp
index 05ab1f482..01876e4e9 100644
--- a/src/modules/m_chanlog.cpp
+++ b/src/modules/m_chanlog.cpp
@@ -97,7 +97,7 @@ class ModuleChanLog : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_channelban.cpp b/src/modules/m_channelban.cpp
index 66851c5a2..cdb5c40dd 100644
--- a/src/modules/m_channelban.cpp
+++ b/src/modules/m_channelban.cpp
@@ -31,7 +31,7 @@ class ModuleBadChannelExtban : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR,API_VERSION);
}
virtual int OnUserPreJoin(User *user, Channel *c, const char *cname, std::string &privs, const std::string &key)
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp
index 95641891f..f596a28d2 100644
--- a/src/modules/m_chanprotect.cpp
+++ b/src/modules/m_chanprotect.cpp
@@ -490,7 +490,7 @@ class ModuleChanProtect : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index 4fd7da90a..1f142014e 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -172,7 +172,7 @@ class ModuleCheck : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp
index ad5a9b562..5189ec141 100644
--- a/src/modules/m_chghost.cpp
+++ b/src/modules/m_chghost.cpp
@@ -114,7 +114,7 @@ class ModuleChgHost : public Module
Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp
index 192a7e8a0..3ccecf76c 100644
--- a/src/modules/m_chgident.cpp
+++ b/src/modules/m_chgident.cpp
@@ -85,7 +85,7 @@ public:
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_chgname.cpp b/src/modules/m_chgname.cpp
index 038686cfc..37c7e9ff8 100644
--- a/src/modules/m_chgname.cpp
+++ b/src/modules/m_chgname.cpp
@@ -81,7 +81,7 @@ public:
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index f5b3d08da..d45c920ce 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -350,7 +350,7 @@ class ModuleCloaking : public Module
{
// returns the version number of the module to be
// listed in /MODULES
- return Version(1,2,0,2,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_COMMON|VF_VENDOR,API_VERSION);
}
virtual void OnRehash(User* user, const std::string &parameter)
diff --git a/src/modules/m_clones.cpp b/src/modules/m_clones.cpp
index 097227d39..ebf98d3e8 100644
--- a/src/modules/m_clones.cpp
+++ b/src/modules/m_clones.cpp
@@ -76,7 +76,7 @@ class ModuleClones : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_close.cpp b/src/modules/m_close.cpp
index b9ad87587..e8e176296 100644
--- a/src/modules/m_close.cpp
+++ b/src/modules/m_close.cpp
@@ -82,7 +82,7 @@ class ModuleClose : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_commonchans.cpp b/src/modules/m_commonchans.cpp
index 0bb1de227..cc00b53f5 100644
--- a/src/modules/m_commonchans.cpp
+++ b/src/modules/m_commonchans.cpp
@@ -67,7 +67,7 @@ class ModulePrivacyMode : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0, VF_COMMON|VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON|VF_VENDOR, API_VERSION);
}
virtual int OnUserPreMessage(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
diff --git a/src/modules/m_conn_join.cpp b/src/modules/m_conn_join.cpp
index 21c03922e..58a1d9bf5 100644
--- a/src/modules/m_conn_join.cpp
+++ b/src/modules/m_conn_join.cpp
@@ -72,7 +72,7 @@ class ModuleConnJoin : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR,API_VERSION);
}
virtual void OnPostConnect(User* user)
diff --git a/src/modules/m_conn_umodes.cpp b/src/modules/m_conn_umodes.cpp
index 097f8c8d6..4ec2aae70 100644
--- a/src/modules/m_conn_umodes.cpp
+++ b/src/modules/m_conn_umodes.cpp
@@ -45,7 +45,7 @@ class ModuleModesOnConnect : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id", VF_VENDOR,API_VERSION);
}
virtual void OnPostConnect(User* user)
diff --git a/src/modules/m_conn_waitpong.cpp b/src/modules/m_conn_waitpong.cpp
index c27ee0c81..53b826195 100644
--- a/src/modules/m_conn_waitpong.cpp
+++ b/src/modules/m_conn_waitpong.cpp
@@ -135,7 +135,7 @@ class ModuleWaitPong : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_VENDOR, API_VERSION);
+ return Version("$Id", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp
index fc8b9aeaa..3aba6b39c 100644
--- a/src/modules/m_connectban.cpp
+++ b/src/modules/m_connectban.cpp
@@ -38,7 +38,7 @@ class ModuleQuitBan : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR,API_VERSION);
}
virtual void OnRehash(User* user, const std::string &parameter)
diff --git a/src/modules/m_connflood.cpp b/src/modules/m_connflood.cpp
index d25b6abfc..bd97adfd5 100644
--- a/src/modules/m_connflood.cpp
+++ b/src/modules/m_connflood.cpp
@@ -42,7 +42,7 @@ public:
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR,API_VERSION);
}
void InitConf()
diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp
index 85f097237..6f832e476 100644
--- a/src/modules/m_customtitle.cpp
+++ b/src/modules/m_customtitle.cpp
@@ -207,7 +207,7 @@ class ModuleCustomTitle : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_cycle.cpp b/src/modules/m_cycle.cpp
index 0995cd938..a7c24df63 100644
--- a/src/modules/m_cycle.cpp
+++ b/src/modules/m_cycle.cpp
@@ -96,7 +96,7 @@ class ModuleCycle : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp
index 738567ff7..39c8e33c6 100644
--- a/src/modules/m_dccallow.cpp
+++ b/src/modules/m_dccallow.cpp
@@ -463,7 +463,7 @@ class ModuleDCCAllow : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_deaf.cpp b/src/modules/m_deaf.cpp
index 09110f921..32cfac50a 100644
--- a/src/modules/m_deaf.cpp
+++ b/src/modules/m_deaf.cpp
@@ -168,7 +168,7 @@ class ModuleDeaf : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_COMMON|VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp
index 0196c6b8f..190bcb38c 100644
--- a/src/modules/m_delayjoin.cpp
+++ b/src/modules/m_delayjoin.cpp
@@ -79,7 +79,7 @@ class ModuleDelayJoin : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
virtual void OnNamesListItem(User* issuer, User* user, Channel* channel, std::string &prefixes, std::string &nick)
diff --git a/src/modules/m_denychans.cpp b/src/modules/m_denychans.cpp
index 45c9cbcd6..a01614108 100644
--- a/src/modules/m_denychans.cpp
+++ b/src/modules/m_denychans.cpp
@@ -82,7 +82,7 @@ class ModuleDenyChannels : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR,API_VERSION);
}
diff --git a/src/modules/m_devoice.cpp b/src/modules/m_devoice.cpp
index ba12d7db9..31952d002 100644
--- a/src/modules/m_devoice.cpp
+++ b/src/modules/m_devoice.cpp
@@ -70,7 +70,7 @@ class ModuleDeVoice : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp
index c4ab5a7e4..1ec9879ae 100644
--- a/src/modules/m_dnsbl.cpp
+++ b/src/modules/m_dnsbl.cpp
@@ -212,7 +212,7 @@ class ModuleDNSBL : public Module
virtual Version GetVersion()
{
- return Version(2, 0, 0, 1, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_filter.h b/src/modules/m_filter.h
index ca1e1486a..35d777a2f 100644
--- a/src/modules/m_filter.h
+++ b/src/modules/m_filter.h
@@ -401,7 +401,7 @@ void FilterBase::OnRehash(User* user, const std::string &parameter)
Version FilterBase::GetVersion()
{
- return Version(1,1,0,2,VF_VENDOR|VF_COMMON,API_VERSION);
+ return Version("$Id$", VF_VENDOR | VF_COMMON, API_VERSION);
}
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp
index 1f8d0c3bd..73572170f 100644
--- a/src/modules/m_foobar.cpp
+++ b/src/modules/m_foobar.cpp
@@ -48,7 +48,7 @@ class ModuleFoobar : public Module
// this method instantiates a class of type Version, and returns
// the modules version information using it.
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_gecosban.cpp b/src/modules/m_gecosban.cpp
index c7194aef5..c8e9884d5 100644
--- a/src/modules/m_gecosban.cpp
+++ b/src/modules/m_gecosban.cpp
@@ -31,7 +31,7 @@ class ModuleGecosBan : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
virtual int OnUserPreJoin(User *user, Channel *c, const char *cname, std::string &privs, const std::string &key)
diff --git a/src/modules/m_globalload.cpp b/src/modules/m_globalload.cpp
index a900083e1..f016c563e 100644
--- a/src/modules/m_globalload.cpp
+++ b/src/modules/m_globalload.cpp
@@ -144,7 +144,7 @@ class ModuleGlobalLoad : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp
index fafc3df2c..b487d4a74 100644
--- a/src/modules/m_globops.cpp
+++ b/src/modules/m_globops.cpp
@@ -63,7 +63,7 @@ class ModuleGlobops : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index 1a1867e07..700656a53 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -155,7 +155,7 @@ class ModuleHelpop : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_hidechans.cpp b/src/modules/m_hidechans.cpp
index c111e323d..766e76f8f 100644
--- a/src/modules/m_hidechans.cpp
+++ b/src/modules/m_hidechans.cpp
@@ -70,7 +70,7 @@ class ModuleHideChans : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
int OnWhoisLine(User* user, User* dest, int &numeric, std::string &text)
diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp
index 97cb53c76..ae479c902 100644
--- a/src/modules/m_hideoper.cpp
+++ b/src/modules/m_hideoper.cpp
@@ -70,7 +70,7 @@ class ModuleHideOper : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
int OnWhoisLine(User* user, User* dest, int &numeric, std::string &text)
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp
index 3d4dde887..17f0abc88 100644
--- a/src/modules/m_hostchange.cpp
+++ b/src/modules/m_hostchange.cpp
@@ -89,7 +89,7 @@ class ModuleHostChange : public Module
{
// returns the version number of the module to be
// listed in /MODULES
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
virtual void OnUserConnect(User* user)
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp
index eba78b98b..209a71cb0 100644
--- a/src/modules/m_httpd.cpp
+++ b/src/modules/m_httpd.cpp
@@ -441,7 +441,7 @@ class ModuleHttpServer : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR|VF_SERVICEPROVIDER,API_VERSION);
+ return Version("$Id$", VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION);
}
};
diff --git a/src/modules/m_httpd_acl.cpp b/src/modules/m_httpd_acl.cpp
index 0258deba9..a62bda3e0 100644
--- a/src/modules/m_httpd_acl.cpp
+++ b/src/modules/m_httpd_acl.cpp
@@ -284,7 +284,7 @@ class ModuleHTTPAccessList : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_httpd_config.cpp b/src/modules/m_httpd_config.cpp
index 2a3041c22..27b494421 100644
--- a/src/modules/m_httpd_config.cpp
+++ b/src/modules/m_httpd_config.cpp
@@ -121,7 +121,7 @@ class ModuleHttpStats : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp
index 0efe67a27..37a7c3478 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -105,7 +105,7 @@ class ModuleHttpStats : public Module
{
Module* m = ServerInstance->Modules->Find(i->c_str());
Version v = m->GetVersion();
- data << "<module><name>" << *i << "</name><version>" << v.Major << "." << v.Minor << "." << v.Revision << "." << v.Build << "</version></module>";
+ data << "<module><name>" << *i << "</name><version>" << v.version << "</version></module>";
}
data << "</modulelist>";
data << "<channellist>";
@@ -196,7 +196,7 @@ class ModuleHttpStats : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index 3eded4daf..a29acab5f 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -348,7 +348,7 @@ class ModuleIdent : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 1, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_invisible.cpp b/src/modules/m_invisible.cpp
index f8aae9cb5..517cda10a 100644
--- a/src/modules/m_invisible.cpp
+++ b/src/modules/m_invisible.cpp
@@ -184,7 +184,7 @@ class ModuleInvisible : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp
index 3ea1c83fc..e88f5c58b 100644
--- a/src/modules/m_inviteexception.cpp
+++ b/src/modules/m_inviteexception.cpp
@@ -128,7 +128,7 @@ public:
virtual Version GetVersion()
{
- return Version(1, 2, 0, 3, VF_VENDOR | VF_COMMON, API_VERSION);
+ return Version("$Id$", VF_VENDOR | VF_COMMON, API_VERSION);
}
~ModuleInviteException()
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp
index 6c3ffdc57..33ba98aa4 100644
--- a/src/modules/m_joinflood.cpp
+++ b/src/modules/m_joinflood.cpp
@@ -279,7 +279,7 @@ class ModuleJoinFlood : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_jumpserver.cpp b/src/modules/m_jumpserver.cpp
index 80c9dc611..c3cbf1b6a 100644
--- a/src/modules/m_jumpserver.cpp
+++ b/src/modules/m_jumpserver.cpp
@@ -154,7 +154,7 @@ class ModuleJumpServer : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_kicknorejoin.cpp b/src/modules/m_kicknorejoin.cpp
index 265f96efc..cd027f089 100644
--- a/src/modules/m_kicknorejoin.cpp
+++ b/src/modules/m_kicknorejoin.cpp
@@ -210,7 +210,7 @@ public:
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp
index 3d244ac4f..cc6fba480 100644
--- a/src/modules/m_knock.cpp
+++ b/src/modules/m_knock.cpp
@@ -102,7 +102,7 @@ class ModuleKnock : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_lockserv.cpp b/src/modules/m_lockserv.cpp
index 203f030ca..903427d22 100644
--- a/src/modules/m_lockserv.cpp
+++ b/src/modules/m_lockserv.cpp
@@ -119,7 +119,7 @@ public:
virtual Version GetVersion()
{
- return Version(1, 0, 0, 1, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_maphide.cpp b/src/modules/m_maphide.cpp
index 9022bd758..4e3d7c5aa 100644
--- a/src/modules/m_maphide.cpp
+++ b/src/modules/m_maphide.cpp
@@ -51,7 +51,7 @@ class ModuleMapHide : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_md5.cpp b/src/modules/m_md5.cpp
index dbb38734b..37740027c 100644
--- a/src/modules/m_md5.cpp
+++ b/src/modules/m_md5.cpp
@@ -310,7 +310,7 @@ class ModuleMD5 : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR|VF_SERVICEPROVIDER,API_VERSION);
+ return Version("$Id$",VF_VENDOR|VF_SERVICEPROVIDER,API_VERSION);
}
};
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp
index 83079c7f2..21b432222 100644
--- a/src/modules/m_messageflood.cpp
+++ b/src/modules/m_messageflood.cpp
@@ -291,7 +291,7 @@ class ModuleMsgFlood : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_muteban.cpp b/src/modules/m_muteban.cpp
index 649d5a3c2..962163868 100644
--- a/src/modules/m_muteban.cpp
+++ b/src/modules/m_muteban.cpp
@@ -31,7 +31,7 @@ class ModuleQuietBan : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
virtual int OnUserPreMessage(User *user, void *dest, int target_type, std::string &text, char status, CUList &exempt_list)
diff --git a/src/modules/m_namesx.cpp b/src/modules/m_namesx.cpp
index d8ba80735..412572f55 100644
--- a/src/modules/m_namesx.cpp
+++ b/src/modules/m_namesx.cpp
@@ -40,7 +40,7 @@ class ModuleNamesX : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
virtual void On005Numeric(std::string &output)
diff --git a/src/modules/m_nickflood.cpp b/src/modules/m_nickflood.cpp
index 34f599a52..72e2831da 100644
--- a/src/modules/m_nickflood.cpp
+++ b/src/modules/m_nickflood.cpp
@@ -275,7 +275,7 @@ class ModuleNickFlood : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index caa71b53f..d2de094f7 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -125,7 +125,7 @@ class ModuleNickLock : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp
index 3eb0bfd81..1db5a3d6d 100644
--- a/src/modules/m_noctcp.cpp
+++ b/src/modules/m_noctcp.cpp
@@ -69,7 +69,7 @@ class ModuleNoCTCP : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
virtual int OnUserPreMessage(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list)
diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp
index df3a542a9..bb5db683c 100644
--- a/src/modules/m_nokicks.cpp
+++ b/src/modules/m_nokicks.cpp
@@ -23,15 +23,12 @@ class NoKicks : public SimpleChannelModeHandler
class ModuleNoKicks : public Module
{
-
NoKicks* nk;
public:
-
ModuleNoKicks(InspIRCd* Me)
: Module(Me)
{
-
nk = new NoKicks(ServerInstance);
if (!ServerInstance->Modes->AddMode(nk))
throw ModuleException("Could not add new modes!");
@@ -74,7 +71,7 @@ class ModuleNoKicks : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp
index 9a1d0079e..43e49e2b9 100644
--- a/src/modules/m_nonicks.cpp
+++ b/src/modules/m_nonicks.cpp
@@ -64,7 +64,7 @@ class ModuleNoNickChange : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp
index ba513efb7..bea3b52a1 100644
--- a/src/modules/m_nonotice.cpp
+++ b/src/modules/m_nonotice.cpp
@@ -78,7 +78,7 @@ class ModuleNoNotice : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_nopartmsg.cpp b/src/modules/m_nopartmsg.cpp
index 19d2206d9..fab20a084 100644
--- a/src/modules/m_nopartmsg.cpp
+++ b/src/modules/m_nopartmsg.cpp
@@ -31,7 +31,7 @@ class ModulePartMsgBan : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp
index 207c468b1..61e423aef 100644
--- a/src/modules/m_operchans.cpp
+++ b/src/modules/m_operchans.cpp
@@ -94,7 +94,7 @@ class ModuleOperChans : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR|VF_COMMON,API_VERSION);
+ return Version("$Id$", VF_VENDOR | VF_COMMON, API_VERSION);
}
};
diff --git a/src/modules/m_operflood.cpp b/src/modules/m_operflood.cpp
index 39d0ba9b2..4b5d5a673 100644
--- a/src/modules/m_operflood.cpp
+++ b/src/modules/m_operflood.cpp
@@ -26,10 +26,9 @@ public:
ServerInstance->Modules->Attach(eventlist, this, 1);
}
-
Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
void OnPostOper(User* user, const std::string &opertype, const std::string &opername)
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp
index 4b05b372a..549194ef7 100644
--- a/src/modules/m_operjoin.cpp
+++ b/src/modules/m_operjoin.cpp
@@ -82,7 +82,7 @@ class ModuleOperjoin : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
virtual void OnPostOper(User* user, const std::string &opertype, const std::string &opername)
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp
index 29b24354e..b062ae341 100644
--- a/src/modules/m_operlevels.cpp
+++ b/src/modules/m_operlevels.cpp
@@ -14,9 +14,6 @@
#include "inspircd.h"
/* $ModDesc: Gives each oper type a 'level', cannot kill opers 'above' your level. */
-
-
-
class ModuleOperLevels : public Module
{
private:
@@ -44,7 +41,7 @@ class ModuleOperLevels : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
virtual int OnKill(User* source, User* dest, const std::string &reason)
diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp
index d39beb68d..9cf1a5a45 100644
--- a/src/modules/m_operlog.cpp
+++ b/src/modules/m_operlog.cpp
@@ -33,7 +33,7 @@ class ModuleOperLog : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_opermodes.cpp b/src/modules/m_opermodes.cpp
index 0d923d7cb..8b116aed8 100644
--- a/src/modules/m_opermodes.cpp
+++ b/src/modules/m_opermodes.cpp
@@ -46,7 +46,7 @@ class ModuleModesOnOper : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
virtual void OnPostOper(User* user, const std::string &opertype, const std::string &opername)
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp
index f8da2cd10..e64239950 100644
--- a/src/modules/m_opermotd.cpp
+++ b/src/modules/m_opermotd.cpp
@@ -93,7 +93,7 @@ class ModuleOpermotd : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp
index 9e2cbd719..859b7e7b7 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -19,7 +19,6 @@ typedef std::map<std::string,std::string> override_t;
class ModuleOverride : public Module
{
-
override_t overrides;
bool RequireKey;
bool NoisyOverride;
@@ -329,7 +328,7 @@ class ModuleOverride : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_password_hash.cpp b/src/modules/m_password_hash.cpp
index 81c2d4cac..e5c392292 100644
--- a/src/modules/m_password_hash.cpp
+++ b/src/modules/m_password_hash.cpp
@@ -160,7 +160,7 @@ class ModuleOperHash : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp
index 0133c3814..a333ea0b0 100644
--- a/src/modules/m_permchannels.cpp
+++ b/src/modules/m_permchannels.cpp
@@ -130,7 +130,7 @@ public:
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_COMMON|VF_VENDOR,API_VERSION);
}
virtual int OnChannelPreDelete(Channel *c)
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp
index 503156eef..c03b2777a 100644
--- a/src/modules/m_randquote.cpp
+++ b/src/modules/m_randquote.cpp
@@ -101,7 +101,7 @@ class ModuleRandQuote : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
virtual void OnUserConnect(User* user)
diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp
index c81ab2a70..3ed3a0791 100644
--- a/src/modules/m_redirect.cpp
+++ b/src/modules/m_redirect.cpp
@@ -148,7 +148,7 @@ class ModuleRedirect : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_regonlycreate.cpp b/src/modules/m_regonlycreate.cpp
index 7d53eeb02..a7d3cea45 100644
--- a/src/modules/m_regonlycreate.cpp
+++ b/src/modules/m_regonlycreate.cpp
@@ -50,7 +50,7 @@ class ModuleRegOnlyCreate : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp
index 5ded9bda0..2b148085e 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -274,7 +274,7 @@ class ModuleRemove : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 1, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_restrictbanned.cpp b/src/modules/m_restrictbanned.cpp
index 6068c5279..ca8c3a426 100644
--- a/src/modules/m_restrictbanned.cpp
+++ b/src/modules/m_restrictbanned.cpp
@@ -31,7 +31,7 @@ class ModuleRestrictBanned : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp
index 10e7343ee..c7b4bee96 100644
--- a/src/modules/m_restrictchans.cpp
+++ b/src/modules/m_restrictchans.cpp
@@ -76,7 +76,7 @@ class ModuleRestrictChans : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp
index 65bae4657..18aee2f93 100644
--- a/src/modules/m_restrictmsg.cpp
+++ b/src/modules/m_restrictmsg.cpp
@@ -63,7 +63,7 @@ class ModuleRestrictMsg : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_ripemd160.cpp b/src/modules/m_ripemd160.cpp
index ab5b23ad1..464012d12 100644
--- a/src/modules/m_ripemd160.cpp
+++ b/src/modules/m_ripemd160.cpp
@@ -494,7 +494,7 @@ class ModuleRIPEMD160 : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_VENDOR|VF_SERVICEPROVIDER, API_VERSION);
+ return Version("$Id$", VF_VENDOR|VF_SERVICEPROVIDER, API_VERSION);
}
};
diff --git a/src/modules/m_rpc_json.cpp b/src/modules/m_rpc_json.cpp
index 861aa86b0..ede3a34c2 100644
--- a/src/modules/m_rpc_json.cpp
+++ b/src/modules/m_rpc_json.cpp
@@ -59,7 +59,7 @@ class ModuleRpcJson : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_SERVICEPROVIDER | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_SERVICEPROVIDER | VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_rpctest.cpp b/src/modules/m_rpctest.cpp
index 0ff938041..283325a6b 100644
--- a/src/modules/m_rpctest.cpp
+++ b/src/modules/m_rpctest.cpp
@@ -37,7 +37,7 @@ class ModuleRPCTest : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp
index eb47e329e..0d5334da4 100644
--- a/src/modules/m_safelist.cpp
+++ b/src/modules/m_safelist.cpp
@@ -60,7 +60,7 @@ class ModuleSafeList : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
diff --git a/src/modules/m_sajoin.cpp b/src/modules/m_sajoin.cpp
index d429704d9..99a796a27 100644
--- a/src/modules/m_sajoin.cpp
+++ b/src/modules/m_sajoin.cpp
@@ -105,7 +105,7 @@ class ModuleSajoin : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp
index 8b5e94c5f..c2982b44d 100644
--- a/src/modules/m_samode.cpp
+++ b/src/modules/m_samode.cpp
@@ -81,7 +81,7 @@ class ModuleSaMode : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_sanick.cpp b/src/modules/m_sanick.cpp
index a14bfc097..55a6aae94 100644
--- a/src/modules/m_sanick.cpp
+++ b/src/modules/m_sanick.cpp
@@ -88,7 +88,7 @@ class ModuleSanick : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_sapart.cpp b/src/modules/m_sapart.cpp
index 8fba73359..c010b289f 100644
--- a/src/modules/m_sapart.cpp
+++ b/src/modules/m_sapart.cpp
@@ -109,7 +109,7 @@ class ModuleSapart : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp
index 1ace7eea3..f96c19890 100644
--- a/src/modules/m_saquit.cpp
+++ b/src/modules/m_saquit.cpp
@@ -75,7 +75,7 @@ class ModuleSaquit : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp
index 96130d039..a9f2f205c 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -250,7 +250,7 @@ class ModuleSASL : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
virtual void OnEvent(Event *ev)
diff --git a/src/modules/m_satopic.cpp b/src/modules/m_satopic.cpp
index f03684ccb..855a5ca56 100644
--- a/src/modules/m_satopic.cpp
+++ b/src/modules/m_satopic.cpp
@@ -70,7 +70,7 @@ class ModuleSATopic : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_securelist.cpp b/src/modules/m_securelist.cpp
index d40904d61..2a693836c 100644
--- a/src/modules/m_securelist.cpp
+++ b/src/modules/m_securelist.cpp
@@ -34,7 +34,7 @@ class ModuleSecureList : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
void OnRehash(User* user, const std::string &parameter)
diff --git a/src/modules/m_seenicks.cpp b/src/modules/m_seenicks.cpp
index 7f5d47d99..8a3deaca4 100644
--- a/src/modules/m_seenicks.cpp
+++ b/src/modules/m_seenicks.cpp
@@ -35,7 +35,7 @@ class ModuleSeeNicks : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_serverban.cpp b/src/modules/m_serverban.cpp
index 7d57466cd..3b3bcc320 100644
--- a/src/modules/m_serverban.cpp
+++ b/src/modules/m_serverban.cpp
@@ -31,7 +31,7 @@ class ModuleServerBan : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
virtual int OnUserPreJoin(User *user, Channel *c, const char *cname, std::string &privs, const std::string &key)
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp
index 9b10b2f5e..2be2328a7 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -237,7 +237,7 @@ class ModuleServices : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_COMMON|VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp
index 76712df61..fa96b3e0c 100644
--- a/src/modules/m_services_account.cpp
+++ b/src/modules/m_services_account.cpp
@@ -286,7 +286,7 @@ class ModuleServicesAccount : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_COMMON|VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_servprotect.cpp b/src/modules/m_servprotect.cpp
index e9012ac31..687c45a94 100644
--- a/src/modules/m_servprotect.cpp
+++ b/src/modules/m_servprotect.cpp
@@ -61,7 +61,7 @@ class ModuleServProtectMode : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_COMMON,API_VERSION);
+ return Version("$Id$",VF_COMMON,API_VERSION);
}
virtual void OnWhois(User* src, User* dst)
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp
index fbc71ff2f..f2c680849 100644
--- a/src/modules/m_sethost.cpp
+++ b/src/modules/m_sethost.cpp
@@ -97,7 +97,7 @@ class ModuleSetHost : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_setident.cpp b/src/modules/m_setident.cpp
index c910dfe92..a7cd5c9b7 100644
--- a/src/modules/m_setident.cpp
+++ b/src/modules/m_setident.cpp
@@ -74,7 +74,7 @@ class ModuleSetIdent : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_setidle.cpp b/src/modules/m_setidle.cpp
index cb2575124..91cfed950 100644
--- a/src/modules/m_setidle.cpp
+++ b/src/modules/m_setidle.cpp
@@ -66,7 +66,7 @@ class ModuleSetIdle : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp
index 4df0a2c5c..1e8bceb8a 100644
--- a/src/modules/m_setname.cpp
+++ b/src/modules/m_setname.cpp
@@ -71,7 +71,7 @@ class ModuleSetName : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_sha256.cpp b/src/modules/m_sha256.cpp
index e79aa4ab0..99200c920 100644
--- a/src/modules/m_sha256.cpp
+++ b/src/modules/m_sha256.cpp
@@ -302,7 +302,7 @@ class ModuleSHA256 : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_VENDOR|VF_SERVICEPROVIDER, API_VERSION);
+ return Version("$Id$", VF_VENDOR|VF_SERVICEPROVIDER, API_VERSION);
}
};
diff --git a/src/modules/m_showwhois.cpp b/src/modules/m_showwhois.cpp
index 05f70b4c4..265a0f775 100644
--- a/src/modules/m_showwhois.cpp
+++ b/src/modules/m_showwhois.cpp
@@ -75,7 +75,7 @@ class ModuleShowwhois : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,3,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_COMMON|VF_VENDOR,API_VERSION);
}
virtual void OnWhois(User* source, User* dest)
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index b4cdfac72..cd944bda6 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -217,7 +217,7 @@ class ModuleShun : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,0,VF_VENDOR|VF_COMMON,API_VERSION);
+ return Version("$Id$",VF_VENDOR|VF_COMMON,API_VERSION);
}
};
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index eae8675a8..d9ddb8c77 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -403,7 +403,7 @@ class ModuleSilence : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 423400c3d..bfce80589 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -888,7 +888,7 @@ ModuleSpanningTree::~ModuleSpanningTree()
Version ModuleSpanningTree::GetVersion()
{
- return Version(1,2,0,2,VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
/* It is IMPORTANT that m_spanningtree is the last module in the chain
diff --git a/src/modules/m_spy.cpp b/src/modules/m_spy.cpp
index 193d22234..54d2983b0 100644
--- a/src/modules/m_spy.cpp
+++ b/src/modules/m_spy.cpp
@@ -45,7 +45,7 @@ class ModuleSpy : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_ssl_dummy.cpp b/src/modules/m_ssl_dummy.cpp
index 5a8a0e884..73c43304b 100644
--- a/src/modules/m_ssl_dummy.cpp
+++ b/src/modules/m_ssl_dummy.cpp
@@ -34,7 +34,7 @@ class ModuleSSLDummy : public Module
virtual Version GetVersion()
{
- return Version(1, 0, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
diff --git a/src/modules/m_sslmodes.cpp b/src/modules/m_sslmodes.cpp
index 069edde23..17deb586a 100644
--- a/src/modules/m_sslmodes.cpp
+++ b/src/modules/m_sslmodes.cpp
@@ -110,7 +110,7 @@ class ModuleSSLModes : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_stripcolor.cpp b/src/modules/m_stripcolor.cpp
index 9ba8775b9..7d518e50f 100644
--- a/src/modules/m_stripcolor.cpp
+++ b/src/modules/m_stripcolor.cpp
@@ -143,7 +143,7 @@ class ModuleStripColor : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_svshold.cpp b/src/modules/m_svshold.cpp
index 089aacdf5..b63554ea9 100644
--- a/src/modules/m_svshold.cpp
+++ b/src/modules/m_svshold.cpp
@@ -188,7 +188,7 @@ class ModuleSVSHold : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index 196b556dc..4ed178278 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -251,7 +251,7 @@ class ModuleSWhois : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_taxonomy.cpp b/src/modules/m_taxonomy.cpp
index 22aa8de3d..e9df6221d 100644
--- a/src/modules/m_taxonomy.cpp
+++ b/src/modules/m_taxonomy.cpp
@@ -86,7 +86,7 @@ class ModuleTaxonomy : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp
index 54a3ceba3..f3eff2878 100644
--- a/src/modules/m_testcommand.cpp
+++ b/src/modules/m_testcommand.cpp
@@ -53,7 +53,7 @@ class ModuleTestCommand : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp
index dbf7fc076..a10f90819 100644
--- a/src/modules/m_timedbans.cpp
+++ b/src/modules/m_timedbans.cpp
@@ -186,7 +186,7 @@ class ModuleTimedBans : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_tline.cpp b/src/modules/m_tline.cpp
index c249f3b3b..13115f110 100644
--- a/src/modules/m_tline.cpp
+++ b/src/modules/m_tline.cpp
@@ -80,7 +80,7 @@ class ModuleTLine : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_uhnames.cpp b/src/modules/m_uhnames.cpp
index 882acefc9..b0e096baa 100644
--- a/src/modules/m_uhnames.cpp
+++ b/src/modules/m_uhnames.cpp
@@ -40,7 +40,7 @@ class ModuleUHNames : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
virtual void On005Numeric(std::string &output)
diff --git a/src/modules/m_uninvite.cpp b/src/modules/m_uninvite.cpp
index 7b9d7416b..becb02603 100644
--- a/src/modules/m_uninvite.cpp
+++ b/src/modules/m_uninvite.cpp
@@ -97,7 +97,7 @@ class ModuleUninvite : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp
index 36d9014d9..79ad1c9d6 100644
--- a/src/modules/m_userip.cpp
+++ b/src/modules/m_userip.cpp
@@ -72,7 +72,7 @@ class ModuleUserIP : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp
index 406891740..5e1057f6c 100644
--- a/src/modules/m_vhost.cpp
+++ b/src/modules/m_vhost.cpp
@@ -76,7 +76,7 @@ class ModuleVHost : public Module
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+ return Version("$Id$",VF_VENDOR,API_VERSION);
}
};
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp
index bbda1f593..6e9ab6a58 100644
--- a/src/modules/m_watch.cpp
+++ b/src/modules/m_watch.cpp
@@ -560,7 +560,7 @@ class Modulewatch : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_xline_db.cpp b/src/modules/m_xline_db.cpp
index 3255030e3..8a0ff9eda 100644
--- a/src/modules/m_xline_db.cpp
+++ b/src/modules/m_xline_db.cpp
@@ -239,7 +239,7 @@ class ModuleXLineDB : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
};
diff --git a/src/modules/m_xmlsocket.cpp b/src/modules/m_xmlsocket.cpp
index 0e29cb993..cc14dee97 100644
--- a/src/modules/m_xmlsocket.cpp
+++ b/src/modules/m_xmlsocket.cpp
@@ -109,7 +109,7 @@ class ModuleXMLSocket : public Module
virtual Version GetVersion()
{
- return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
virtual void OnHookUserIO(User* user, const std::string &targetip)