summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-07 17:40:40 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-07 17:40:40 +0000
commit9fc9227cf51585dd2e44c2fcd0014c8da8f8739f (patch)
treee38a17f4d79f6dab25b400fdf679afbbbe776e46 /src
parent211b24ba8cf6e21f435f145b0366adc8a3b62460 (diff)
Added version flags
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1000 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_alias.cpp2
-rw-r--r--src/modules/m_antibottler.cpp2
-rw-r--r--src/modules/m_blockcolor.cpp2
-rw-r--r--src/modules/m_botmode.cpp2
-rw-r--r--src/modules/m_censor.cpp2
-rw-r--r--src/modules/m_chanprotect.cpp2
-rw-r--r--src/modules/m_chghost.cpp2
-rw-r--r--src/modules/m_cloaking.cpp2
-rw-r--r--src/modules/m_filter.cpp2
-rw-r--r--src/modules/m_foobar.cpp2
-rw-r--r--src/modules/m_globops.cpp2
-rw-r--r--src/modules/m_helpop.cpp2
-rw-r--r--src/modules/m_hostchange.cpp2
-rw-r--r--src/modules/m_knock.cpp2
-rw-r--r--src/modules/m_noctcp.cpp2
-rw-r--r--src/modules/m_noinvite.cpp2
-rw-r--r--src/modules/m_nokicks.cpp2
-rw-r--r--src/modules/m_nonicks.cpp2
-rw-r--r--src/modules/m_nonotice.cpp2
-rw-r--r--src/modules/m_operchans.cpp2
-rw-r--r--src/modules/m_operjoin.cpp2
-rw-r--r--src/modules/m_operlevels.cpp2
-rw-r--r--src/modules/m_opermotd.cpp2
-rw-r--r--src/modules/m_override.cpp2
-rw-r--r--src/modules/m_randquote.cpp2
-rw-r--r--src/modules/m_redirect.cpp2
-rw-r--r--src/modules/m_remove.cpp2
-rw-r--r--src/modules/m_restrictchans.cpp2
-rw-r--r--src/modules/m_restrictmsg.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_services.cpp2
-rw-r--r--src/modules/m_sethost.cpp2
-rw-r--r--src/modules/m_setname.cpp2
-rw-r--r--src/modules/m_silence.cpp2
-rw-r--r--src/modules/m_stripcolor.cpp2
-rw-r--r--src/modules/m_testcommand.cpp2
40 files changed, 40 insertions, 40 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index ddfede7f2..28da9baad 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -75,7 +75,7 @@ class ModuleAlias : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp
index efa2de7e2..0a611ff9b 100644
--- a/src/modules/m_antibottler.cpp
+++ b/src/modules/m_antibottler.cpp
@@ -38,7 +38,7 @@ class ModuleAntiBottler : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
diff --git a/src/modules/m_blockcolor.cpp b/src/modules/m_blockcolor.cpp
index d8399f3c1..9a6da0fae 100644
--- a/src/modules/m_blockcolor.cpp
+++ b/src/modules/m_blockcolor.cpp
@@ -112,7 +112,7 @@ class ModuleBlockColor : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC);
}
};
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp
index 6d8269435..b88c7307e 100644
--- a/src/modules/m_botmode.cpp
+++ b/src/modules/m_botmode.cpp
@@ -45,7 +45,7 @@ class ModuleBotMode : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC);
}
virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp
index 959872819..d3d2d705c 100644
--- a/src/modules/m_censor.cpp
+++ b/src/modules/m_censor.cpp
@@ -190,7 +190,7 @@ class ModuleCensor : public Module
virtual Version GetVersion()
{
// This is version 2 because version 1.x is the unreleased unrealircd module
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC);
}
};
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp
index b7765012e..dd39a603b 100644
--- a/src/modules/m_chanprotect.cpp
+++ b/src/modules/m_chanprotect.cpp
@@ -288,7 +288,7 @@ class ModuleChanProtect : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC);
}
virtual string_list OnChannelSync(chanrec* chan)
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp
index 366166e4c..474f1a093 100644
--- a/src/modules/m_chghost.cpp
+++ b/src/modules/m_chghost.cpp
@@ -61,7 +61,7 @@ class ModuleChgHost : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
};
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index 08930c8f2..19ec11a92 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -72,7 +72,7 @@ class ModuleCloaking : public Module
{
// returns the version number of the module to be
// listed in /MODULES
- return Version(1,0,0,1);
+ return Version(1,0,0,1,VF_STATIC);
}
virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp
index 679df66bc..91efe49c0 100644
--- a/src/modules/m_filter.cpp
+++ b/src/modules/m_filter.cpp
@@ -180,7 +180,7 @@ class ModuleFilter : public Module
virtual Version GetVersion()
{
// This is version 2 because version 1.x is the unreleased unrealircd module
- return Version(2,0,0,0);
+ return Version(2,0,0,0,0);
}
};
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp
index a96002ccd..d622675f2 100644
--- a/src/modules/m_foobar.cpp
+++ b/src/modules/m_foobar.cpp
@@ -53,7 +53,7 @@ class ModuleFoobar : public Module
// this method instantiates a class of type Version, and returns
// the modules version information using it.
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
virtual void OnUserConnect(userrec* user)
diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp
index 5a1a8f7b3..f96681962 100644
--- a/src/modules/m_globops.cpp
+++ b/src/modules/m_globops.cpp
@@ -60,7 +60,7 @@ class ModuleGlobops : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,1);
+ return Version(1,0,0,1,VF_STATIC);
}
virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index dc4f6f614..41111dd36 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -201,7 +201,7 @@ class ModuleHelpop : public Module
virtual Version GetVersion()
{
- return Version(0,0,0,1);
+ return Version(0,0,0,1,VF_STATIC);
}
};
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp
index 21566daac..0b420041d 100644
--- a/src/modules/m_hostchange.cpp
+++ b/src/modules/m_hostchange.cpp
@@ -56,7 +56,7 @@ class ModuleHostChange : public Module
{
// returns the version number of the module to be
// listed in /MODULES
- return Version(1,0,0,1);
+ return Version(1,0,0,1,0);
}
virtual void OnUserConnect(userrec* user)
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp
index 3940a61a6..3096423c4 100644
--- a/src/modules/m_knock.cpp
+++ b/src/modules/m_knock.cpp
@@ -94,7 +94,7 @@ class ModuleKnock : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,1);
+ return Version(1,0,0,1,VF_STATIC);
}
virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp
index ea6eff6bc..30d837c67 100644
--- a/src/modules/m_noctcp.cpp
+++ b/src/modules/m_noctcp.cpp
@@ -113,7 +113,7 @@ class ModuleNoCTCP : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC);
}
};
diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp
index 5424c6958..bc43a1899 100644
--- a/src/modules/m_noinvite.cpp
+++ b/src/modules/m_noinvite.cpp
@@ -83,7 +83,7 @@ class ModuleNoInvite : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC);
}
};
diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp
index 1afabd182..3f7d35c46 100644
--- a/src/modules/m_nokicks.cpp
+++ b/src/modules/m_nokicks.cpp
@@ -94,7 +94,7 @@ class ModuleNoKicks : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC);
}
};
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp
index d458e15d0..ef2cfe857 100644
--- a/src/modules/m_nonicks.cpp
+++ b/src/modules/m_nonicks.cpp
@@ -41,7 +41,7 @@ class ModuleNoNickChange : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,1);
+ return Version(1,0,0,1,VF_STATIC);
}
virtual void On005Numeric(std::string &output)
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp
index b346553b6..f026c0d38 100644
--- a/src/modules/m_nonotice.cpp
+++ b/src/modules/m_nonotice.cpp
@@ -93,7 +93,7 @@ class ModuleNoNotice : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC);
}
};
diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp
index ed12c1c3d..9cc8ec460 100644
--- a/src/modules/m_operchans.cpp
+++ b/src/modules/m_operchans.cpp
@@ -101,7 +101,7 @@ class ModuleOperChans : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC);
}
virtual void OnUserConnect(userrec* user)
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp
index 587793acb..864325cda 100644
--- a/src/modules/m_operjoin.cpp
+++ b/src/modules/m_operjoin.cpp
@@ -35,7 +35,7 @@ class ModuleOperjoin : public Module {
virtual Version GetVersion() {
- return Version(1,0,0,1);
+ return Version(1,0,0,1,0);
}
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp
index 1143b583e..3a97caa3b 100644
--- a/src/modules/m_operlevels.cpp
+++ b/src/modules/m_operlevels.cpp
@@ -37,7 +37,7 @@ class ModuleOperLevels : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
virtual int OnKill(userrec* source, userrec* dest, std::string reason)
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp
index 06b994c91..b37a3b69e 100644
--- a/src/modules/m_opermotd.cpp
+++ b/src/modules/m_opermotd.cpp
@@ -73,7 +73,7 @@ class ModuleOpermotd : public Module {
virtual Version GetVersion() {
- return Version(1,0,0,1);
+ return Version(1,0,0,1,0);
}
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp
index a84571217..0ce4b37bc 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -131,7 +131,7 @@ class ModuleOverride : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
};
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp
index 1a875e527..5a987fe3b 100644
--- a/src/modules/m_randquote.cpp
+++ b/src/modules/m_randquote.cpp
@@ -92,7 +92,7 @@ class ModuleRandQuote : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
virtual void OnUserConnect(userrec* user)
diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp
index 3efe33c09..a8a764b01 100644
--- a/src/modules/m_redirect.cpp
+++ b/src/modules/m_redirect.cpp
@@ -101,7 +101,7 @@ class ModuleRedirect : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC);
}
virtual void OnUserConnect(userrec* user)
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp
index d4735081f..31949ab24 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -128,7 +128,7 @@ class ModuleRemove : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
};
diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp
index caced3c56..93c16a8bf 100644
--- a/src/modules/m_restrictchans.cpp
+++ b/src/modules/m_restrictchans.cpp
@@ -53,7 +53,7 @@ class ModuleRestrictChans : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
};
diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp
index 9dcd875dc..a419a9423 100644
--- a/src/modules/m_restrictmsg.cpp
+++ b/src/modules/m_restrictmsg.cpp
@@ -67,7 +67,7 @@ class ModuleRestrictMsg : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
};
diff --git a/src/modules/m_sajoin.cpp b/src/modules/m_sajoin.cpp
index b3ca5fef2..4ad3fe7a0 100644
--- a/src/modules/m_sajoin.cpp
+++ b/src/modules/m_sajoin.cpp
@@ -61,7 +61,7 @@ class ModuleSajoin : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,1);
+ return Version(1,0,0,1,0);
}
};
diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp
index 624f0483b..6eb22a361 100644
--- a/src/modules/m_samode.cpp
+++ b/src/modules/m_samode.cpp
@@ -72,7 +72,7 @@ class ModuleSaMode : public Module
virtual Version GetVersion()
{
- return Version(1,0,2,1);
+ return Version(1,0,2,1,0);
}
virtual void OnUserConnect(userrec* user)
diff --git a/src/modules/m_sanick.cpp b/src/modules/m_sanick.cpp
index 65de14250..e96f72fdf 100644
--- a/src/modules/m_sanick.cpp
+++ b/src/modules/m_sanick.cpp
@@ -56,7 +56,7 @@ class ModuleSanick : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,1);
+ return Version(1,0,0,1,0);
}
};
diff --git a/src/modules/m_sapart.cpp b/src/modules/m_sapart.cpp
index e4b36b035..9132cf0da 100644
--- a/src/modules/m_sapart.cpp
+++ b/src/modules/m_sapart.cpp
@@ -60,7 +60,7 @@ class ModuleSapart : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,1);
+ return Version(1,0,0,1,0);
}
};
diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp
index 5221f38ea..9920982ef 100644
--- a/src/modules/m_saquit.cpp
+++ b/src/modules/m_saquit.cpp
@@ -68,7 +68,7 @@ class ModuleSaquit : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
};
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp
index 801ab1fd9..712292001 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -203,7 +203,7 @@ class ModuleServices : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC);
}
virtual void OnUserConnect(userrec* user)
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp
index dd60e5766..a220f376d 100644
--- a/src/modules/m_sethost.cpp
+++ b/src/modules/m_sethost.cpp
@@ -58,7 +58,7 @@ class ModuleSetHost : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
};
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp
index c1489876f..4c44fd6b0 100644
--- a/src/modules/m_setname.cpp
+++ b/src/modules/m_setname.cpp
@@ -52,7 +52,7 @@ class ModuleSetName : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
};
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index a73ec757d..cb7ac2993 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -192,7 +192,7 @@ class ModuleSilence : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,0);
}
};
diff --git a/src/modules/m_stripcolor.cpp b/src/modules/m_stripcolor.cpp
index cd883c9c3..2bceea67d 100644
--- a/src/modules/m_stripcolor.cpp
+++ b/src/modules/m_stripcolor.cpp
@@ -170,7 +170,7 @@ class ModuleStripColor : public Module
virtual Version GetVersion()
{
// This is version 2 because version 1.x is the unreleased unrealircd module
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC);
}
};
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp
index 984283fc3..c056c87fe 100644
--- a/src/modules/m_testcommand.cpp
+++ b/src/modules/m_testcommand.cpp
@@ -102,7 +102,7 @@ class ModuleTestCommand : public Module
virtual Version GetVersion()
{
- return Version(1,0,0,0);
+ return Version(1,0,0,0,VF_STATIC);
}
virtual void OnUserConnect(userrec* user)