From 1c3b8e15c2c5ab96146ddc7573cf5d05f28967fe Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Sat, 8 Nov 2008 01:54:17 +0000 Subject: moduleAddVersion -> Module::SetVersion moduleAddAuthor -> Module::SetAuthor git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1590 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_act.c | 4 ++-- src/core/bs_assign.c | 4 ++-- src/core/bs_badwords.c | 4 ++-- src/core/bs_bot.c | 4 ++-- src/core/bs_botlist.c | 4 ++-- src/core/bs_fantasy.c | 4 ++-- src/core/bs_fantasy_kick.c | 4 ++-- src/core/bs_fantasy_kickban.c | 4 ++-- src/core/bs_fantasy_owner.c | 4 ++-- src/core/bs_fantasy_seen.c | 4 ++-- src/core/bs_help.c | 4 ++-- src/core/bs_info.c | 4 ++-- src/core/bs_kick.c | 4 ++-- src/core/bs_say.c | 4 ++-- src/core/bs_set.c | 4 ++-- src/core/bs_unassign.c | 4 ++-- src/core/cs_access.c | 4 ++-- src/core/cs_akick.c | 4 ++-- src/core/cs_ban.c | 4 ++-- src/core/cs_clear.c | 4 ++-- src/core/cs_drop.c | 4 ++-- src/core/cs_forbid.c | 4 ++-- src/core/cs_getkey.c | 4 ++-- src/core/cs_getpass.c | 4 ++-- src/core/cs_help.c | 4 ++-- src/core/cs_identify.c | 4 ++-- src/core/cs_info.c | 4 ++-- src/core/cs_invite.c | 4 ++-- src/core/cs_kick.c | 4 ++-- src/core/cs_list.c | 4 ++-- src/core/cs_logout.c | 4 ++-- src/core/cs_modes.c | 4 ++-- src/core/cs_register.c | 4 ++-- src/core/cs_sendpass.c | 4 ++-- src/core/cs_set.c | 4 ++-- src/core/cs_status.c | 4 ++-- src/core/cs_suspend.c | 4 ++-- src/core/cs_topic.c | 4 ++-- src/core/cs_xop.c | 4 ++-- src/core/enc_md5.c | 4 ++-- src/core/enc_none.c | 4 ++-- src/core/enc_old.c | 4 ++-- src/core/enc_sha1.c | 4 ++-- src/core/he_help.c | 4 ++-- src/core/hs_del.c | 4 ++-- src/core/hs_delall.c | 4 ++-- src/core/hs_group.c | 4 ++-- src/core/hs_help.c | 4 ++-- src/core/hs_list.c | 4 ++-- src/core/hs_off.c | 4 ++-- src/core/hs_on.c | 4 ++-- src/core/hs_set.c | 4 ++-- src/core/hs_setall.c | 4 ++-- src/core/ms_cancel.c | 4 ++-- src/core/ms_check.c | 4 ++-- src/core/ms_del.c | 4 ++-- src/core/ms_help.c | 4 ++-- src/core/ms_info.c | 4 ++-- src/core/ms_list.c | 4 ++-- src/core/ms_read.c | 4 ++-- src/core/ms_rsend.c | 4 ++-- src/core/ms_send.c | 4 ++-- src/core/ms_sendall.c | 4 ++-- src/core/ms_set.c | 4 ++-- src/core/ms_staff.c | 4 ++-- src/core/ns_access.c | 4 ++-- src/core/ns_alist.c | 4 ++-- src/core/ns_drop.c | 4 ++-- src/core/ns_forbid.c | 4 ++-- src/core/ns_getemail.c | 4 ++-- src/core/ns_getpass.c | 4 ++-- src/core/ns_ghost.c | 4 ++-- src/core/ns_group.c | 4 ++-- src/core/ns_help.c | 4 ++-- src/core/ns_identify.c | 4 ++-- src/core/ns_info.c | 4 ++-- src/core/ns_list.c | 4 ++-- src/core/ns_logout.c | 4 ++-- src/core/ns_recover.c | 4 ++-- src/core/ns_register.c | 4 ++-- src/core/ns_release.c | 4 ++-- src/core/ns_saset.c | 4 ++-- src/core/ns_sendpass.c | 4 ++-- src/core/ns_set.c | 4 ++-- src/core/ns_status.c | 4 ++-- src/core/ns_suspend.c | 4 ++-- src/core/ns_update.c | 4 ++-- src/core/os_admin.c | 4 ++-- src/core/os_akill.c | 4 ++-- src/core/os_chankill.c | 4 ++-- src/core/os_chanlist.c | 4 ++-- src/core/os_clearmodes.c | 4 ++-- src/core/os_defcon.c | 4 ++-- src/core/os_global.c | 4 ++-- src/core/os_help.c | 4 ++-- src/core/os_ignore.c | 4 ++-- src/core/os_jupe.c | 4 ++-- src/core/os_kick.c | 4 ++-- src/core/os_logonnews.c | 4 ++-- src/core/os_mode.c | 4 ++-- src/core/os_modinfo.c | 8 +++---- src/core/os_modlist.c | 16 ++++++------- src/core/os_modload.c | 4 ++-- src/core/os_modunload.c | 4 ++-- src/core/os_noop.c | 4 ++-- src/core/os_oline.c | 4 ++-- src/core/os_oper.c | 4 ++-- src/core/os_opernews.c | 4 ++-- src/core/os_quit.c | 4 ++-- src/core/os_randomnews.c | 4 ++-- src/core/os_raw.c | 4 ++-- src/core/os_reload.c | 4 ++-- src/core/os_restart.c | 4 ++-- src/core/os_session.c | 4 ++-- src/core/os_set.c | 4 ++-- src/core/os_sgline.c | 4 ++-- src/core/os_shutdown.c | 4 ++-- src/core/os_sqline.c | 4 ++-- src/core/os_staff.c | 4 ++-- src/core/os_stats.c | 4 ++-- src/core/os_svsnick.c | 4 ++-- src/core/os_szline.c | 4 ++-- src/core/os_umode.c | 4 ++-- src/core/os_update.c | 4 ++-- src/core/os_userlist.c | 4 ++-- src/modules.c | 39 ++++++++------------------------ src/modules/bs_fantasy_unban.c | 4 ++-- src/modules/cs_appendtopic.c | 4 ++-- src/modules/cs_enforce.c | 4 ++-- src/modules/cs_tban.c | 4 ++-- src/modules/demos/catserv/ircd_catserv.c | 4 ++-- src/modules/demos/events.c | 4 ++-- src/modules/demos/hs_moo.c | 4 ++-- src/modules/hs_request.c | 4 ++-- src/modules/ns_maxemail.c | 4 ++-- src/modules/ns_noop_convert.c | 4 ++-- src/modules/os_ignore_db.c | 4 ++-- src/modules/os_info.c | 4 ++-- src/protocol/bahamut.c | 4 ++-- src/protocol/charybdis.c | 4 ++-- src/protocol/inspircd11.c | 4 ++-- src/protocol/inspircd12.cpp | 4 ++-- src/protocol/obsolete/hybrid.c | 4 ++-- src/protocol/obsolete/plexus3.c | 4 ++-- src/protocol/obsolete/ptlink.c | 4 ++-- src/protocol/obsolete/rageircd.c | 4 ++-- src/protocol/obsolete/solidircd.c | 4 ++-- src/protocol/obsolete/ultimate3.c | 4 ++-- src/protocol/obsolete/viagra.c | 4 ++-- src/protocol/ratbox.c | 4 ++-- src/protocol/unreal32.c | 4 ++-- 151 files changed, 318 insertions(+), 337 deletions(-) (limited to 'src') diff --git a/src/core/bs_act.c b/src/core/bs_act.c index 324c10778..162d321ad 100644 --- a/src/core/bs_act.c +++ b/src/core/bs_act.c @@ -25,8 +25,8 @@ class BSAct : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("ACT", do_act, NULL, BOT_HELP_ACT, -1, -1, -1, -1); moduleAddCommand(BOTSERV, c, MOD_UNIQUE); diff --git a/src/core/bs_assign.c b/src/core/bs_assign.c index c9519ceff..b28542141 100644 --- a/src/core/bs_assign.c +++ b/src/core/bs_assign.c @@ -25,8 +25,8 @@ class BSAssign : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("ASSIGN", do_assign, NULL, BOT_HELP_ASSIGN, -1, -1, -1, -1); moduleAddCommand(BOTSERV, c, MOD_UNIQUE); diff --git a/src/core/bs_badwords.c b/src/core/bs_badwords.c index 4322944c1..c5b13e436 100644 --- a/src/core/bs_badwords.c +++ b/src/core/bs_badwords.c @@ -28,8 +28,8 @@ class BSBadwords : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("BADWORDS", do_badwords, NULL, BOT_HELP_BADWORDS, -1, -1, -1, -1); diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index c85a94ac4..3ec37f0a6 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -25,8 +25,8 @@ class BSBot : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("BOT", do_bot, is_services_admin, -1, -1, -1, BOT_SERVADMIN_HELP_BOT, BOT_SERVADMIN_HELP_BOT); diff --git a/src/core/bs_botlist.c b/src/core/bs_botlist.c index 93aabdfe7..51a65866c 100644 --- a/src/core/bs_botlist.c +++ b/src/core/bs_botlist.c @@ -25,8 +25,8 @@ class BSBotList : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("BOTLIST", do_botlist, NULL, BOT_HELP_BOTLIST, -1, -1, -1, -1); moduleAddCommand(BOTSERV, c, MOD_UNIQUE); diff --git a/src/core/bs_fantasy.c b/src/core/bs_fantasy.c index 2c9b116a6..20e7aaeb7 100644 --- a/src/core/bs_fantasy.c +++ b/src/core/bs_fantasy.c @@ -24,8 +24,8 @@ class BSFantasy : public Module { EvtHook *hook; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); hook = createEventHook(EVENT_BOT_FANTASY, do_fantasy); this->AddEventHook(hook); diff --git a/src/core/bs_fantasy_kick.c b/src/core/bs_fantasy_kick.c index dcb8c70f4..e1e92e161 100644 --- a/src/core/bs_fantasy_kick.c +++ b/src/core/bs_fantasy_kick.c @@ -24,8 +24,8 @@ class BSFantasyKick : public Module { EvtHook *hook; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); hook = createEventHook(EVENT_BOT_FANTASY, do_fantasy); diff --git a/src/core/bs_fantasy_kickban.c b/src/core/bs_fantasy_kickban.c index 156edd78d..b0514ff84 100644 --- a/src/core/bs_fantasy_kickban.c +++ b/src/core/bs_fantasy_kickban.c @@ -24,8 +24,8 @@ class BSFantasyKickBan : public Module { EvtHook *hook; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); hook = createEventHook(EVENT_BOT_FANTASY, do_fantasy); diff --git a/src/core/bs_fantasy_owner.c b/src/core/bs_fantasy_owner.c index 21e86cee9..3501f6c08 100644 --- a/src/core/bs_fantasy_owner.c +++ b/src/core/bs_fantasy_owner.c @@ -24,8 +24,8 @@ class BSFantasyOwner : public Module { EvtHook *hook; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); /* No need to load of we don't support owner */ diff --git a/src/core/bs_fantasy_seen.c b/src/core/bs_fantasy_seen.c index a561ad4e6..5173a7695 100644 --- a/src/core/bs_fantasy_seen.c +++ b/src/core/bs_fantasy_seen.c @@ -24,8 +24,8 @@ class BSFantasySeen : public Module { EvtHook *hook; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); hook = createEventHook(EVENT_BOT_FANTASY, do_fantasy); diff --git a/src/core/bs_help.c b/src/core/bs_help.c index 522217dfc..2243cfbe1 100644 --- a/src/core/bs_help.c +++ b/src/core/bs_help.c @@ -24,8 +24,8 @@ class BSHelp : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("HELP", do_help, NULL, -1, -1, -1, -1, -1); moduleAddCommand(BOTSERV, c, MOD_UNIQUE); diff --git a/src/core/bs_info.c b/src/core/bs_info.c index 38d348694..3be046b0f 100644 --- a/src/core/bs_info.c +++ b/src/core/bs_info.c @@ -26,8 +26,8 @@ class BSInfo : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("INFO", do_info, NULL, BOT_HELP_INFO, -1, -1, -1, -1); moduleAddCommand(BOTSERV, c, MOD_UNIQUE); diff --git a/src/core/bs_kick.c b/src/core/bs_kick.c index e6df8200e..fcb76b4c6 100644 --- a/src/core/bs_kick.c +++ b/src/core/bs_kick.c @@ -26,8 +26,8 @@ class BSKick : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("KICK", do_kickcmd, NULL, BOT_HELP_KICK, -1, -1, -1, -1); moduleAddCommand(BOTSERV, c, MOD_UNIQUE); diff --git a/src/core/bs_say.c b/src/core/bs_say.c index 157e10c79..ae0081365 100644 --- a/src/core/bs_say.c +++ b/src/core/bs_say.c @@ -25,8 +25,8 @@ class BSSay : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SAY", do_say, NULL, BOT_HELP_SAY, -1, -1, -1, -1); moduleAddCommand(BOTSERV, c, MOD_UNIQUE); diff --git a/src/core/bs_set.c b/src/core/bs_set.c index ef26e6eee..01919b71b 100644 --- a/src/core/bs_set.c +++ b/src/core/bs_set.c @@ -25,8 +25,8 @@ class BSSet : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SET", do_set, NULL, BOT_HELP_SET, -1, -1, BOT_SERVADMIN_HELP_SET, BOT_SERVADMIN_HELP_SET); diff --git a/src/core/bs_unassign.c b/src/core/bs_unassign.c index d54687fbe..fd2708b93 100644 --- a/src/core/bs_unassign.c +++ b/src/core/bs_unassign.c @@ -25,8 +25,8 @@ class BSUnassign : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("UNASSIGN", do_unassign, NULL, BOT_HELP_UNASSIGN, -1, -1, -1, -1); moduleAddCommand(BOTSERV, c, MOD_UNIQUE); diff --git a/src/core/cs_access.c b/src/core/cs_access.c index bea907e51..1852fbdf0 100644 --- a/src/core/cs_access.c +++ b/src/core/cs_access.c @@ -28,8 +28,8 @@ class CSAccess : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion + this->SetAuthor("Anope"); + this->SetVersion ("$Id$"); this->SetType(CORE); diff --git a/src/core/cs_akick.c b/src/core/cs_akick.c index eba591674..6685f8704 100644 --- a/src/core/cs_akick.c +++ b/src/core/cs_akick.c @@ -27,8 +27,8 @@ class CSAKick : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("AKICK", do_akick, NULL, CHAN_HELP_AKICK, -1, -1, -1, -1); diff --git a/src/core/cs_ban.c b/src/core/cs_ban.c index ff45639bd..3b09dbe06 100644 --- a/src/core/cs_ban.c +++ b/src/core/cs_ban.c @@ -26,8 +26,8 @@ class CSBan : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("BAN", do_ban, NULL, CHAN_HELP_BAN, -1, -1, -1, -1); diff --git a/src/core/cs_clear.c b/src/core/cs_clear.c index 3d3e62802..87dbd358e 100644 --- a/src/core/cs_clear.c +++ b/src/core/cs_clear.c @@ -25,8 +25,8 @@ class CSClear : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("CLEAR", do_clear, NULL, CHAN_HELP_CLEAR, -1, -1, -1, -1); diff --git a/src/core/cs_drop.c b/src/core/cs_drop.c index d262a617f..364895814 100644 --- a/src/core/cs_drop.c +++ b/src/core/cs_drop.c @@ -25,8 +25,8 @@ class CSDrop : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("DROP", do_drop, NULL, -1, CHAN_HELP_DROP, -1, CHAN_SERVADMIN_HELP_DROP, CHAN_SERVADMIN_HELP_DROP); diff --git a/src/core/cs_forbid.c b/src/core/cs_forbid.c index f0f32a300..0a2791d24 100644 --- a/src/core/cs_forbid.c +++ b/src/core/cs_forbid.c @@ -25,8 +25,8 @@ class CSForbid : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("FORBID", do_forbid, is_services_admin, -1, -1, -1, CHAN_SERVADMIN_HELP_FORBID, CHAN_SERVADMIN_HELP_FORBID); diff --git a/src/core/cs_getkey.c b/src/core/cs_getkey.c index d219e2c74..1ded60092 100644 --- a/src/core/cs_getkey.c +++ b/src/core/cs_getkey.c @@ -25,8 +25,8 @@ class CSGetKey : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("GETKEY", do_getkey, NULL, CHAN_HELP_GETKEY, -1, -1, -1, -1); diff --git a/src/core/cs_getpass.c b/src/core/cs_getpass.c index 111500582..b45c9aa1e 100644 --- a/src/core/cs_getpass.c +++ b/src/core/cs_getpass.c @@ -25,8 +25,8 @@ class CSGetPass : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("GETPASS", do_getpass, is_services_admin, -1, -1, -1, CHAN_SERVADMIN_HELP_GETPASS, CHAN_SERVADMIN_HELP_GETPASS); diff --git a/src/core/cs_help.c b/src/core/cs_help.c index 14b4ebf84..abc9ff42b 100644 --- a/src/core/cs_help.c +++ b/src/core/cs_help.c @@ -24,8 +24,8 @@ class CSHelp : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("HELP", do_help, NULL, -1, -1, -1, -1, -1); diff --git a/src/core/cs_identify.c b/src/core/cs_identify.c index 20addcb01..51ff9568b 100644 --- a/src/core/cs_identify.c +++ b/src/core/cs_identify.c @@ -25,8 +25,8 @@ class CSIdentify : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("IDENTIFY", do_identify, NULL, CHAN_HELP_IDENTIFY, -1, -1, -1, -1); diff --git a/src/core/cs_info.c b/src/core/cs_info.c index 9fda8d7a7..1b97e8a61 100644 --- a/src/core/cs_info.c +++ b/src/core/cs_info.c @@ -25,8 +25,8 @@ class CSInfo : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("INFO", do_info, NULL, CHAN_HELP_INFO, -1, CHAN_SERVADMIN_HELP_INFO, CHAN_SERVADMIN_HELP_INFO, CHAN_SERVADMIN_HELP_INFO); diff --git a/src/core/cs_invite.c b/src/core/cs_invite.c index 8575b79f5..786360f55 100644 --- a/src/core/cs_invite.c +++ b/src/core/cs_invite.c @@ -25,8 +25,8 @@ class CSInvite : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("INVITE", do_invite, NULL, CHAN_HELP_INVITE, -1, -1, -1, -1); diff --git a/src/core/cs_kick.c b/src/core/cs_kick.c index b2c7caf50..7e913ff53 100644 --- a/src/core/cs_kick.c +++ b/src/core/cs_kick.c @@ -25,8 +25,8 @@ class CSKick : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("KICK", do_cs_kick, NULL, CHAN_HELP_KICK, -1, -1, -1, -1); diff --git a/src/core/cs_list.c b/src/core/cs_list.c index f205a673d..bacedbe53 100644 --- a/src/core/cs_list.c +++ b/src/core/cs_list.c @@ -25,8 +25,8 @@ class CSList : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("LIST", do_list, NULL, -1, CHAN_HELP_LIST, CHAN_SERVADMIN_HELP_LIST, CHAN_SERVADMIN_HELP_LIST, CHAN_SERVADMIN_HELP_LIST); diff --git a/src/core/cs_logout.c b/src/core/cs_logout.c index 79716b382..f07e5c0d0 100644 --- a/src/core/cs_logout.c +++ b/src/core/cs_logout.c @@ -26,8 +26,8 @@ class CSLogout : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("LOGOUT", do_logout, NULL, -1, CHAN_HELP_LOGOUT, -1, CHAN_SERVADMIN_HELP_LOGOUT, CHAN_SERVADMIN_HELP_LOGOUT); diff --git a/src/core/cs_modes.c b/src/core/cs_modes.c index 3c658042a..2069dc796 100644 --- a/src/core/cs_modes.c +++ b/src/core/cs_modes.c @@ -35,8 +35,8 @@ class CSModes : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("OP", do_op, NULL, CHAN_HELP_OP, -1, -1, -1, -1); diff --git a/src/core/cs_register.c b/src/core/cs_register.c index 72be9c21d..62bd8f572 100644 --- a/src/core/cs_register.c +++ b/src/core/cs_register.c @@ -25,8 +25,8 @@ class CSRegister : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("REGISTER", do_register, NULL, CHAN_HELP_REGISTER, -1, -1, -1, -1); diff --git a/src/core/cs_sendpass.c b/src/core/cs_sendpass.c index ae2ebb1a6..241ad9691 100644 --- a/src/core/cs_sendpass.c +++ b/src/core/cs_sendpass.c @@ -26,8 +26,8 @@ class CSSendPass : public Module Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SENDPASS", do_sendpass, NULL, CHAN_HELP_SENDPASS, diff --git a/src/core/cs_set.c b/src/core/cs_set.c index 7e0af68c8..97550542c 100644 --- a/src/core/cs_set.c +++ b/src/core/cs_set.c @@ -47,8 +47,8 @@ class CSSet : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SET", do_set, NULL, CHAN_HELP_SET, -1, -1, CHAN_SERVADMIN_HELP_SET, CHAN_SERVADMIN_HELP_SET); diff --git a/src/core/cs_status.c b/src/core/cs_status.c index 0bfece60c..ec21364a2 100644 --- a/src/core/cs_status.c +++ b/src/core/cs_status.c @@ -25,8 +25,8 @@ class CSStatus : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("STATUS", do_status, is_services_admin, -1, -1, -1, CHAN_SERVADMIN_HELP_STATUS, CHAN_SERVADMIN_HELP_STATUS); diff --git a/src/core/cs_suspend.c b/src/core/cs_suspend.c index ed0e8ad9b..b5126d241 100644 --- a/src/core/cs_suspend.c +++ b/src/core/cs_suspend.c @@ -26,8 +26,8 @@ class CSSuspend : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SUSPEND", do_suspend, is_services_oper, -1, -1, -1, CHAN_SERVADMIN_HELP_SUSPEND, CHAN_SERVADMIN_HELP_SUSPEND); diff --git a/src/core/cs_topic.c b/src/core/cs_topic.c index 254afa0c3..ea36d09a3 100644 --- a/src/core/cs_topic.c +++ b/src/core/cs_topic.c @@ -25,8 +25,8 @@ class CSTopic : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("TOPIC", do_cs_topic, NULL, CHAN_HELP_TOPIC, -1, -1,-1, -1); diff --git a/src/core/cs_xop.c b/src/core/cs_xop.c index 22e66365a..899d9e39b 100644 --- a/src/core/cs_xop.c +++ b/src/core/cs_xop.c @@ -89,8 +89,8 @@ class CSXOP : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("AOP", do_aop, NULL, CHAN_HELP_AOP, -1, -1, -1, -1); diff --git a/src/core/enc_md5.c b/src/core/enc_md5.c index bc8df660a..d3f304487 100644 --- a/src/core/enc_md5.c +++ b/src/core/enc_md5.c @@ -388,8 +388,8 @@ class EMD5 : public Module public: EMD5(const std::string &modname, const std::string &creator) : Module(modname, creator) { - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(ENCRYPTION); encmodule_encrypt(md5_encrypt); diff --git a/src/core/enc_none.c b/src/core/enc_none.c index 4ad78e24b..16a4a812b 100644 --- a/src/core/enc_none.c +++ b/src/core/enc_none.c @@ -20,8 +20,8 @@ class ENone : public Module public: ENone(const std::string &modname, const std::string &creator) : Module(modname, creator) { - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(ENCRYPTION); encmodule_encrypt(plain_encrypt); diff --git a/src/core/enc_old.c b/src/core/enc_old.c index fbddf94b3..2fe9ac2d5 100644 --- a/src/core/enc_old.c +++ b/src/core/enc_old.c @@ -415,8 +415,8 @@ class EOld : public Module public: EOld(const std::string &modname, const std::string &creator) : Module(modname, creator) { - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(ENCRYPTION); encmodule_encrypt(old_encrypt); diff --git a/src/core/enc_sha1.c b/src/core/enc_sha1.c index 94820f0fe..1c35519fa 100644 --- a/src/core/enc_sha1.c +++ b/src/core/enc_sha1.c @@ -253,8 +253,8 @@ class ESHA1 : public Module public: ESHA1(const std::string &modname, const std::string &creator) : Module(modname, creator) { - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(ENCRYPTION); encmodule_encrypt(sha1_encrypt); diff --git a/src/core/he_help.c b/src/core/he_help.c index 864f4ced9..064c3424f 100644 --- a/src/core/he_help.c +++ b/src/core/he_help.c @@ -24,8 +24,8 @@ class HEHelp : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("HELP", do_help, NULL, -1, -1, -1, -1, -1); diff --git a/src/core/hs_del.c b/src/core/hs_del.c index d372b57cd..222d355da 100644 --- a/src/core/hs_del.c +++ b/src/core/hs_del.c @@ -25,8 +25,8 @@ class HSDel : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("DEL", do_del, is_host_remover, HOST_HELP_DEL, -1, -1, -1, -1); diff --git a/src/core/hs_delall.c b/src/core/hs_delall.c index 2de0360af..02e6d673f 100644 --- a/src/core/hs_delall.c +++ b/src/core/hs_delall.c @@ -25,8 +25,8 @@ class HSDelAll : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("DELALL", do_delall, is_host_remover, HOST_HELP_DELALL, -1, -1, -1, -1); diff --git a/src/core/hs_group.c b/src/core/hs_group.c index 6f2c740a1..061b5c3f3 100644 --- a/src/core/hs_group.c +++ b/src/core/hs_group.c @@ -28,8 +28,8 @@ class HSGroup : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("GROUP", do_group, NULL, HOST_HELP_GROUP, -1, -1, -1, -1); diff --git a/src/core/hs_help.c b/src/core/hs_help.c index ba082af83..1ad004acc 100644 --- a/src/core/hs_help.c +++ b/src/core/hs_help.c @@ -24,8 +24,8 @@ class HSHelp : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("HELP", do_help, NULL, -1, -1, -1, -1, -1); diff --git a/src/core/hs_list.c b/src/core/hs_list.c index 94b243bbb..967afb203 100644 --- a/src/core/hs_list.c +++ b/src/core/hs_list.c @@ -25,8 +25,8 @@ class HSList : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("LIST", listOut, is_services_oper, -1, -1, HOST_HELP_LIST, HOST_HELP_LIST, HOST_HELP_LIST); diff --git a/src/core/hs_off.c b/src/core/hs_off.c index 30657d850..ab0c01aa9 100644 --- a/src/core/hs_off.c +++ b/src/core/hs_off.c @@ -25,8 +25,8 @@ class HSOff : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("OFF", do_off, NULL, HOST_HELP_OFF, -1, -1, -1, -1); diff --git a/src/core/hs_on.c b/src/core/hs_on.c index 67936b3f2..b96ef6894 100644 --- a/src/core/hs_on.c +++ b/src/core/hs_on.c @@ -25,8 +25,8 @@ class HSOn : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("ON", do_on, NULL, HOST_HELP_ON, -1, -1, -1, -1); diff --git a/src/core/hs_set.c b/src/core/hs_set.c index 509c5ed0c..3b988a929 100644 --- a/src/core/hs_set.c +++ b/src/core/hs_set.c @@ -25,8 +25,8 @@ class HSSet : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SET", myDoSet, is_host_setter, HOST_HELP_SET, -1, -1, -1, -1); diff --git a/src/core/hs_setall.c b/src/core/hs_setall.c index 5fbd16859..14ae197dd 100644 --- a/src/core/hs_setall.c +++ b/src/core/hs_setall.c @@ -27,8 +27,8 @@ class HSSetAll : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SETALL", do_setall, is_host_setter, HOST_HELP_SETALL, -1, -1, -1, -1); diff --git a/src/core/ms_cancel.c b/src/core/ms_cancel.c index 5dc632019..6d86b7908 100644 --- a/src/core/ms_cancel.c +++ b/src/core/ms_cancel.c @@ -25,8 +25,8 @@ class MSCancel : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("CANCEL", do_cancel, NULL, MEMO_HELP_CANCEL, -1, -1, -1, -1); moduleAddCommand(MEMOSERV, c, MOD_UNIQUE); diff --git a/src/core/ms_check.c b/src/core/ms_check.c index ed7939125..cab1b7eae 100644 --- a/src/core/ms_check.c +++ b/src/core/ms_check.c @@ -25,8 +25,8 @@ class MSCheck : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("CHECK", do_memocheck, NULL, MEMO_HELP_CHECK, -1, -1, -1, -1); moduleAddCommand(MEMOSERV, c, MOD_UNIQUE); diff --git a/src/core/ms_del.c b/src/core/ms_del.c index a65866c47..b6ac6261f 100644 --- a/src/core/ms_del.c +++ b/src/core/ms_del.c @@ -26,8 +26,8 @@ class MSDel : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("DEL", do_del, NULL, MEMO_HELP_DEL, -1, -1, -1, -1); moduleAddCommand(MEMOSERV, c, MOD_UNIQUE); diff --git a/src/core/ms_help.c b/src/core/ms_help.c index c494db1cf..1fb2847af 100644 --- a/src/core/ms_help.c +++ b/src/core/ms_help.c @@ -24,8 +24,8 @@ class MSHelp : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("HELP", do_help, NULL, -1, -1, -1, -1, -1); moduleAddCommand(MEMOSERV, c, MOD_UNIQUE); diff --git a/src/core/ms_info.c b/src/core/ms_info.c index bd4942df5..8dc4b4a4d 100644 --- a/src/core/ms_info.c +++ b/src/core/ms_info.c @@ -25,8 +25,8 @@ class MSInfo : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("INFO", do_info, NULL, -1, MEMO_HELP_INFO, -1, MEMO_SERVADMIN_HELP_INFO, MEMO_SERVADMIN_HELP_INFO); moduleAddCommand(MEMOSERV, c, MOD_UNIQUE); diff --git a/src/core/ms_list.c b/src/core/ms_list.c index 502086370..d395922c0 100644 --- a/src/core/ms_list.c +++ b/src/core/ms_list.c @@ -26,8 +26,8 @@ class MSList : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("LIST", do_list, NULL, MEMO_HELP_LIST, -1, -1, -1, -1); moduleAddCommand(MEMOSERV, c, MOD_UNIQUE); diff --git a/src/core/ms_read.c b/src/core/ms_read.c index e4a61ff79..fc5d52ba4 100644 --- a/src/core/ms_read.c +++ b/src/core/ms_read.c @@ -29,8 +29,8 @@ class MSRead : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("READ", do_read, NULL, MEMO_HELP_READ, -1, -1, -1, -1); moduleAddCommand(MEMOSERV, c, MOD_UNIQUE); diff --git a/src/core/ms_rsend.c b/src/core/ms_rsend.c index f2e9f7e11..af61dd436 100644 --- a/src/core/ms_rsend.c +++ b/src/core/ms_rsend.c @@ -25,8 +25,8 @@ class MSRSend : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("RSEND", do_rsend, NULL, MEMO_HELP_RSEND, -1, -1, -1, -1); moduleAddCommand(MEMOSERV, c, MOD_UNIQUE); diff --git a/src/core/ms_send.c b/src/core/ms_send.c index c7262e76b..57b002ed8 100644 --- a/src/core/ms_send.c +++ b/src/core/ms_send.c @@ -25,8 +25,8 @@ class MSSend : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SEND", do_send, NULL, MEMO_HELP_SEND, -1, -1, -1, -1); moduleAddCommand(MEMOSERV, c, MOD_UNIQUE); diff --git a/src/core/ms_sendall.c b/src/core/ms_sendall.c index 197e21383..de0b67f07 100644 --- a/src/core/ms_sendall.c +++ b/src/core/ms_sendall.c @@ -25,8 +25,8 @@ class MSSendAll : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SENDALL", do_sendall, is_services_admin, -1, -1, -1, MEMO_HELP_SENDALL, MEMO_HELP_SENDALL); moduleAddCommand(MEMOSERV, c, MOD_UNIQUE); diff --git a/src/core/ms_set.c b/src/core/ms_set.c index af3715bf1..863648a02 100644 --- a/src/core/ms_set.c +++ b/src/core/ms_set.c @@ -27,8 +27,8 @@ class MSSet : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SET", do_set, NULL, MEMO_HELP_SET, -1, -1, -1, -1); diff --git a/src/core/ms_staff.c b/src/core/ms_staff.c index 2d21fb439..b1fdd4596 100644 --- a/src/core/ms_staff.c +++ b/src/core/ms_staff.c @@ -25,8 +25,8 @@ class MSStaff : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("STAFF", do_staff, is_services_oper, -1, -1, MEMO_HELP_STAFF, MEMO_HELP_STAFF, MEMO_HELP_STAFF); moduleAddCommand(MEMOSERV, c, MOD_UNIQUE); diff --git a/src/core/ns_access.c b/src/core/ns_access.c index 886526738..19f2c1a86 100644 --- a/src/core/ns_access.c +++ b/src/core/ns_access.c @@ -25,8 +25,8 @@ class NSAccess : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("ACCESS", do_access, NULL, NICK_HELP_ACCESS, -1, -1, -1, -1); diff --git a/src/core/ns_alist.c b/src/core/ns_alist.c index 19bc1dcc8..88d099430 100644 --- a/src/core/ns_alist.c +++ b/src/core/ns_alist.c @@ -25,8 +25,8 @@ class NSAList : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("ALIST", do_alist, NULL, -1, NICK_HELP_ALIST, -1, NICK_SERVADMIN_HELP_ALIST, NICK_SERVADMIN_HELP_ALIST); diff --git a/src/core/ns_drop.c b/src/core/ns_drop.c index 0134a2b25..b34803737 100644 --- a/src/core/ns_drop.c +++ b/src/core/ns_drop.c @@ -26,8 +26,8 @@ class NSDrop : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("DROP", do_drop, NULL, -1, NICK_HELP_DROP, -1, NICK_SERVADMIN_HELP_DROP, NICK_SERVADMIN_HELP_DROP); diff --git a/src/core/ns_forbid.c b/src/core/ns_forbid.c index 6252a4def..735a46dd1 100644 --- a/src/core/ns_forbid.c +++ b/src/core/ns_forbid.c @@ -26,8 +26,8 @@ class NSForbid : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("FORBID", do_forbid, is_services_admin, -1, -1, -1, NICK_SERVADMIN_HELP_FORBID, NICK_SERVADMIN_HELP_FORBID); diff --git a/src/core/ns_getemail.c b/src/core/ns_getemail.c index 089df6d6e..ff940212b 100644 --- a/src/core/ns_getemail.c +++ b/src/core/ns_getemail.c @@ -30,8 +30,8 @@ class NSGetEMail : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("GETEMAIL", do_getemail, is_services_admin, -1, -1, -1, NICK_SERVADMIN_HELP_GETEMAIL, NICK_SERVADMIN_HELP_GETEMAIL); diff --git a/src/core/ns_getpass.c b/src/core/ns_getpass.c index 4112551ce..1598168ab 100644 --- a/src/core/ns_getpass.c +++ b/src/core/ns_getpass.c @@ -25,8 +25,8 @@ class NSGetPass : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("GETPASS", do_getpass, is_services_admin, -1, -1, -1, NICK_SERVADMIN_HELP_GETPASS, NICK_SERVADMIN_HELP_GETPASS); diff --git a/src/core/ns_ghost.c b/src/core/ns_ghost.c index 5a69dac2c..c54555ff1 100644 --- a/src/core/ns_ghost.c +++ b/src/core/ns_ghost.c @@ -25,8 +25,8 @@ class NSGhost : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("GHOST", do_ghost, NULL, NICK_HELP_GHOST, -1, -1, -1, -1); diff --git a/src/core/ns_group.c b/src/core/ns_group.c index 0cf4856ce..5cec02bdf 100644 --- a/src/core/ns_group.c +++ b/src/core/ns_group.c @@ -32,8 +32,8 @@ class NSGroup : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("GROUP", do_group, NULL, NICK_HELP_GROUP, -1, -1, -1, -1); diff --git a/src/core/ns_help.c b/src/core/ns_help.c index d363e30a6..1af5c50c4 100644 --- a/src/core/ns_help.c +++ b/src/core/ns_help.c @@ -24,8 +24,8 @@ class NSHelp : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("HELP", do_help, NULL, -1, -1, -1, -1, -1); diff --git a/src/core/ns_identify.c b/src/core/ns_identify.c index 0ce50d1c4..d42da95c1 100644 --- a/src/core/ns_identify.c +++ b/src/core/ns_identify.c @@ -29,8 +29,8 @@ class NSIdentify : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("ID", do_identify, NULL, NICK_HELP_IDENTIFY, -1, -1, -1, -1); diff --git a/src/core/ns_info.c b/src/core/ns_info.c index a24758919..bc32df65f 100644 --- a/src/core/ns_info.c +++ b/src/core/ns_info.c @@ -25,8 +25,8 @@ class NSInfo : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion + this->SetAuthor("Anope"); + this->SetVersion ("$Id$"); this->SetType(CORE); diff --git a/src/core/ns_list.c b/src/core/ns_list.c index f0b60b87e..2e285fab6 100644 --- a/src/core/ns_list.c +++ b/src/core/ns_list.c @@ -25,8 +25,8 @@ class NSList : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("LIST", do_list, NULL, -1, NICK_HELP_LIST, -1, NICK_SERVADMIN_HELP_LIST, NICK_SERVADMIN_HELP_LIST); diff --git a/src/core/ns_logout.c b/src/core/ns_logout.c index 414727ae2..ac448a740 100644 --- a/src/core/ns_logout.c +++ b/src/core/ns_logout.c @@ -28,8 +28,8 @@ class NSLogout : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("LOGOUT", do_logout, NULL, -1, NICK_HELP_LOGOUT, -1, NICK_SERVADMIN_HELP_LOGOUT, NICK_SERVADMIN_HELP_LOGOUT); diff --git a/src/core/ns_recover.c b/src/core/ns_recover.c index 4750fff95..4447df152 100644 --- a/src/core/ns_recover.c +++ b/src/core/ns_recover.c @@ -26,8 +26,8 @@ class NSRecover : public Module public: NSRecover(const std::string &modname, const std::string &creator) : Module(modname, creator) { - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("RECOVER", do_recover, NULL, -1, -1, -1, -1, -1); diff --git a/src/core/ns_register.c b/src/core/ns_register.c index 0daf85a0e..21842bdab 100644 --- a/src/core/ns_register.c +++ b/src/core/ns_register.c @@ -32,8 +32,8 @@ class NSRegister : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("REGISTER", do_register, NULL, NICK_HELP_REGISTER, -1, -1, -1, -1); diff --git a/src/core/ns_release.c b/src/core/ns_release.c index 281d3f0cd..3d2af837e 100644 --- a/src/core/ns_release.c +++ b/src/core/ns_release.c @@ -26,8 +26,8 @@ class NSRelease : public Module public: NSRelease(const std::string &modname, const std::string &creator) : Module(modname, creator) { - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("RELEASE", do_release, NULL, -1, -1, -1, -1, -1); diff --git a/src/core/ns_saset.c b/src/core/ns_saset.c index 4a1f0a043..9631025a6 100644 --- a/src/core/ns_saset.c +++ b/src/core/ns_saset.c @@ -40,8 +40,8 @@ class NSSASet : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id: ns_set.c 850 2005-08-07 14:52:04Z geniusdex $"); + this->SetAuthor("Anope"); + this->SetVersion("$Id: ns_set.c 850 2005-08-07 14:52:04Z geniusdex $"); this->SetType(CORE); c = createCommand("SASET", do_saset, is_services_oper, -1, -1, -1, NICK_HELP_SASET, NICK_HELP_SASET); diff --git a/src/core/ns_sendpass.c b/src/core/ns_sendpass.c index 2df8b3c54..8336e9345 100644 --- a/src/core/ns_sendpass.c +++ b/src/core/ns_sendpass.c @@ -26,8 +26,8 @@ class NSSendPass : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SENDPASS", do_sendpass, NULL, NICK_HELP_SENDPASS, -1, -1, -1, -1); diff --git a/src/core/ns_set.c b/src/core/ns_set.c index 48dd44763..d6bd54d76 100644 --- a/src/core/ns_set.c +++ b/src/core/ns_set.c @@ -39,8 +39,8 @@ class NSSet : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SET", do_set, NULL, NICK_HELP_SET, -1, -1, -1, -1); diff --git a/src/core/ns_status.c b/src/core/ns_status.c index 09b11f3e7..a297d6ea5 100644 --- a/src/core/ns_status.c +++ b/src/core/ns_status.c @@ -25,8 +25,8 @@ class NSStatus : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("STATUS", do_status, NULL, NICK_HELP_STATUS, -1, -1, -1, -1); diff --git a/src/core/ns_suspend.c b/src/core/ns_suspend.c index 46f7850b4..600e362c7 100644 --- a/src/core/ns_suspend.c +++ b/src/core/ns_suspend.c @@ -26,8 +26,8 @@ class NSSuspend : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SUSPEND", do_suspend, is_services_oper, -1, -1, -1, NICK_SERVADMIN_HELP_SUSPEND, NICK_SERVADMIN_HELP_SUSPEND); diff --git a/src/core/ns_update.c b/src/core/ns_update.c index f5e880611..0588131f2 100644 --- a/src/core/ns_update.c +++ b/src/core/ns_update.c @@ -25,8 +25,8 @@ class NSUpdate : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("UPDATE", do_nickupdate, NULL, NICK_HELP_UPDATE, -1, -1, -1, -1); diff --git a/src/core/os_admin.c b/src/core/os_admin.c index 2fee6d780..bf5e982fb 100644 --- a/src/core/os_admin.c +++ b/src/core/os_admin.c @@ -28,8 +28,8 @@ class OSAdmin : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("ADMIN", do_admin, NULL, OPER_HELP_ADMIN, -1, -1, -1, -1); diff --git a/src/core/os_akill.c b/src/core/os_akill.c index ee11de529..f17cb8d5a 100644 --- a/src/core/os_akill.c +++ b/src/core/os_akill.c @@ -31,8 +31,8 @@ class OSAKill : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("AKILL", do_akill, is_services_oper, OPER_HELP_AKILL, -1, -1, -1, -1); moduleAddCommand(OPERSERV, c, MOD_UNIQUE); diff --git a/src/core/os_chankill.c b/src/core/os_chankill.c index 61b76c1b3..2070f2091 100644 --- a/src/core/os_chankill.c +++ b/src/core/os_chankill.c @@ -25,8 +25,8 @@ class OSChanKill : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("CHANKILL", do_chankill, is_services_admin, OPER_HELP_CHANKILL, -1, -1, -1, -1); diff --git a/src/core/os_chanlist.c b/src/core/os_chanlist.c index d0f386fc0..cb172fd0c 100644 --- a/src/core/os_chanlist.c +++ b/src/core/os_chanlist.c @@ -28,8 +28,8 @@ class OSChanList : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("CHANLIST", do_chanlist, is_services_oper, OPER_HELP_CHANLIST, -1, -1, -1, -1); diff --git a/src/core/os_clearmodes.c b/src/core/os_clearmodes.c index 82bfd9af1..343e03fc7 100644 --- a/src/core/os_clearmodes.c +++ b/src/core/os_clearmodes.c @@ -25,8 +25,8 @@ class OSClearModes : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion + this->SetAuthor("Anope"); + this->SetVersion ("$Id$"); this->SetType(CORE); diff --git a/src/core/os_defcon.c b/src/core/os_defcon.c index 2e9df1d9c..610310146 100644 --- a/src/core/os_defcon.c +++ b/src/core/os_defcon.c @@ -31,8 +31,8 @@ class OSDEFCON : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("DEFCON", do_defcon, is_services_admin, OPER_HELP_DEFCON, -1, -1, -1, -1); diff --git a/src/core/os_global.c b/src/core/os_global.c index 14829f3e8..77d42362e 100644 --- a/src/core/os_global.c +++ b/src/core/os_global.c @@ -25,8 +25,8 @@ class OSGlobal : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("GLOBAL", do_global, is_services_admin, OPER_HELP_GLOBAL, -1, -1, -1, -1); diff --git a/src/core/os_help.c b/src/core/os_help.c index 4b874da4f..27e41db14 100644 --- a/src/core/os_help.c +++ b/src/core/os_help.c @@ -24,8 +24,8 @@ class OSHelp : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("HELP", do_help, NULL, -1, -1, -1, -1, -1); moduleAddCommand(OPERSERV, c, MOD_UNIQUE); diff --git a/src/core/os_ignore.c b/src/core/os_ignore.c index ec0e5f430..2289b5afe 100644 --- a/src/core/os_ignore.c +++ b/src/core/os_ignore.c @@ -26,8 +26,8 @@ class OSIgnore : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("IGNORE", do_ignoreuser, is_services_admin, OPER_HELP_IGNORE, -1, -1, -1, -1); moduleAddCommand(OPERSERV, c, MOD_UNIQUE); diff --git a/src/core/os_jupe.c b/src/core/os_jupe.c index 436265f08..3a9eb2622 100644 --- a/src/core/os_jupe.c +++ b/src/core/os_jupe.c @@ -25,8 +25,8 @@ class OSJupe : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("JUPE", do_jupe, is_services_admin, OPER_HELP_JUPE, -1, -1, -1, -1); diff --git a/src/core/os_kick.c b/src/core/os_kick.c index ea94fe39b..e688d96b8 100644 --- a/src/core/os_kick.c +++ b/src/core/os_kick.c @@ -25,8 +25,8 @@ class OSKick : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("KICK", do_os_kick, is_services_oper, OPER_HELP_KICK, -1, -1, -1, -1); diff --git a/src/core/os_logonnews.c b/src/core/os_logonnews.c index aa3ef2c85..e19047835 100644 --- a/src/core/os_logonnews.c +++ b/src/core/os_logonnews.c @@ -29,8 +29,8 @@ class OSLogonNews : public Module EvtHook *hook; char buf[BUFSIZE]; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); /** diff --git a/src/core/os_mode.c b/src/core/os_mode.c index 1153610bc..e9d6a0193 100644 --- a/src/core/os_mode.c +++ b/src/core/os_mode.c @@ -25,8 +25,8 @@ class OSMode : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("MODE", do_os_mode, is_services_oper, OPER_HELP_MODE, -1, -1, -1, -1); diff --git a/src/core/os_modinfo.c b/src/core/os_modinfo.c index 2a5bcd53b..946317e47 100644 --- a/src/core/os_modinfo.c +++ b/src/core/os_modinfo.c @@ -27,8 +27,8 @@ class OSModInfo : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("MODINFO", do_modinfo, NULL, -1, -1, -1, -1, OPER_HELP_MODINFO); moduleAddCommand(OPERSERV, c, MOD_UNIQUE); @@ -71,8 +71,8 @@ int do_modinfo(User * u) strftime_lang(timebuf, sizeof(timebuf), u, STRFTIME_DATE_TIME_FORMAT, &tm); notice_lang(s_OperServ, u, OPER_MODULE_INFO_LIST, m->name.c_str(), - m->version ? m->version : "?", - m->author ? m->author : "?", timebuf); + !m->version.empty() ? m->version.c_str() : "?", + !m->author.empty() ? m->author.c_str() : "?", timebuf); for (idx = 0; idx < MAX_CMD_HASH; idx++) { showModuleCmdLoaded(HOSTSERV[idx], m->name.c_str(), u); showModuleCmdLoaded(OPERSERV[idx], m->name.c_str(), u); diff --git a/src/core/os_modlist.c b/src/core/os_modlist.c index e8786a126..5ab560982 100644 --- a/src/core/os_modlist.c +++ b/src/core/os_modlist.c @@ -25,8 +25,8 @@ class OSModList : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("MODLIST", do_modlist, NULL, -1, -1, -1, -1, OPER_HELP_MODLIST); @@ -127,28 +127,28 @@ int do_modlist(User * u) case CORE: if (showCore) { notice_lang(s_OperServ, u, OPER_MODULE_LIST, - current->name, current->m->version, core); + current->name, current->m->version.c_str(), core); count++; } break; case THIRD: if (showThird) { notice_lang(s_OperServ, u, OPER_MODULE_LIST, - current->name, current->m->version, third); + current->name, current->m->version.c_str(), third); count++; } break; case PROTOCOL: if (showProto) { notice_lang(s_OperServ, u, OPER_MODULE_LIST, - current->name, current->m->version, proto); + current->name, current->m->version.c_str(), proto); count++; } break; case SUPPORTED: if (showSupported) { notice_lang(s_OperServ, u, OPER_MODULE_LIST, - current->name, current->m->version, + current->name, current->m->version.c_str(), supported); count++; } @@ -156,14 +156,14 @@ int do_modlist(User * u) case QATESTED: if (showQA) { notice_lang(s_OperServ, u, OPER_MODULE_LIST, - current->name, current->m->version, qa); + current->name, current->m->version.c_str(), qa); count++; } break; case ENCRYPTION: if (showEnc) { notice_lang(s_OperServ, u, OPER_MODULE_LIST, - current->name, current->m->version, enc); + current->name, current->m->version.c_str(), enc); count++; } break; diff --git a/src/core/os_modload.c b/src/core/os_modload.c index dbf37ed65..41b180d04 100644 --- a/src/core/os_modload.c +++ b/src/core/os_modload.c @@ -25,8 +25,8 @@ class OSModLoad : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("MODLOAD", do_modload, is_services_root, -1, -1, -1, -1, OPER_HELP_MODLOAD); diff --git a/src/core/os_modunload.c b/src/core/os_modunload.c index 295eea0f1..35910056d 100644 --- a/src/core/os_modunload.c +++ b/src/core/os_modunload.c @@ -26,8 +26,8 @@ class OSModUnLoad : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("MODUNLOAD", do_modunload, is_services_root, -1, -1, -1, -1, OPER_HELP_MODUNLOAD); diff --git a/src/core/os_noop.c b/src/core/os_noop.c index e7a03d8cb..0c43d5b8c 100644 --- a/src/core/os_noop.c +++ b/src/core/os_noop.c @@ -25,8 +25,8 @@ class OSNOOP : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("NOOP", do_noop, is_services_admin, OPER_HELP_NOOP, -1, -1, -1, -1); diff --git a/src/core/os_oline.c b/src/core/os_oline.c index 04f06a228..feb2be5b6 100644 --- a/src/core/os_oline.c +++ b/src/core/os_oline.c @@ -25,8 +25,8 @@ class OSOLine : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("OLINE", do_operoline, is_services_root, OPER_HELP_OLINE, -1, -1, -1, -1); diff --git a/src/core/os_oper.c b/src/core/os_oper.c index 3f353d038..7cd128719 100644 --- a/src/core/os_oper.c +++ b/src/core/os_oper.c @@ -28,8 +28,8 @@ class OSOper : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("OPER", do_oper, NULL, OPER_HELP_OPER, -1, -1, -1, -1); c->help_param1 = s_NickServ; diff --git a/src/core/os_opernews.c b/src/core/os_opernews.c index 9eb7e5081..b1b9f4483 100644 --- a/src/core/os_opernews.c +++ b/src/core/os_opernews.c @@ -29,8 +29,8 @@ class OSOperNews : public Module EvtHook *hook; char buf[BUFSIZE]; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); /** XXX: For some unknown reason, do_opernews is actaully defined in news.c diff --git a/src/core/os_quit.c b/src/core/os_quit.c index 111ca19e7..5d2819ac0 100644 --- a/src/core/os_quit.c +++ b/src/core/os_quit.c @@ -25,8 +25,8 @@ class OSQuit : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("QUIT", do_os_quit, is_services_root, OPER_HELP_QUIT, -1, -1, -1, -1); diff --git a/src/core/os_randomnews.c b/src/core/os_randomnews.c index da64204cd..ed646ac78 100644 --- a/src/core/os_randomnews.c +++ b/src/core/os_randomnews.c @@ -24,8 +24,8 @@ class OSRandomNews : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion + this->SetAuthor("Anope"); + this->SetVersion ("$Id$"); this->SetType(CORE); diff --git a/src/core/os_raw.c b/src/core/os_raw.c index c8ac778aa..15096bf02 100644 --- a/src/core/os_raw.c +++ b/src/core/os_raw.c @@ -24,8 +24,8 @@ class OSRaw : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(THIRD); c = createCommand("RAW", do_raw, is_services_root, OPER_HELP_RAW, -1, -1, -1, -1); diff --git a/src/core/os_reload.c b/src/core/os_reload.c index 5ef31daca..e9548c1f4 100644 --- a/src/core/os_reload.c +++ b/src/core/os_reload.c @@ -25,8 +25,8 @@ class OSReload : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("RELOAD", do_reload, is_services_root, OPER_HELP_RELOAD, -1, -1, -1, -1); diff --git a/src/core/os_restart.c b/src/core/os_restart.c index 932bb277d..29968e3d4 100644 --- a/src/core/os_restart.c +++ b/src/core/os_restart.c @@ -30,8 +30,8 @@ class OSRestart : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("RESTART", do_restart, is_services_root, OPER_HELP_RESTART, -1, -1, -1, -1); moduleAddCommand(OPERSERV, c, MOD_UNIQUE); diff --git a/src/core/os_session.c b/src/core/os_session.c index ebc97b4c0..98b734879 100644 --- a/src/core/os_session.c +++ b/src/core/os_session.c @@ -24,8 +24,8 @@ class OSSession : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); /** diff --git a/src/core/os_set.c b/src/core/os_set.c index 9664b490e..eaf2f1339 100644 --- a/src/core/os_set.c +++ b/src/core/os_set.c @@ -25,8 +25,8 @@ class OSSet : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SET", do_set, is_services_root, OPER_HELP_SET, -1, -1, -1, -1); diff --git a/src/core/os_sgline.c b/src/core/os_sgline.c index 4de74b815..e08b91f6e 100644 --- a/src/core/os_sgline.c +++ b/src/core/os_sgline.c @@ -32,8 +32,8 @@ class OSSGLine : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SGLINE", do_sgline, is_services_oper, diff --git a/src/core/os_shutdown.c b/src/core/os_shutdown.c index c396c25dd..317965ba0 100644 --- a/src/core/os_shutdown.c +++ b/src/core/os_shutdown.c @@ -25,8 +25,8 @@ class OSShutdown : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SHUTDOWN", do_shutdown, is_services_root, OPER_HELP_SHUTDOWN, -1, -1, -1, -1); diff --git a/src/core/os_sqline.c b/src/core/os_sqline.c index 2746a06a2..7d2b7f0fe 100644 --- a/src/core/os_sqline.c +++ b/src/core/os_sqline.c @@ -32,8 +32,8 @@ class OSSQLine : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + this->SetAuthor("Anope"); + this->SetVersion("$Id$"); this->SetType(CORE); c = createCommand("SQLINE", do_sqline, is_services_oper, diff --git a/src/core/os_staff.c b/src/core/os_staff.c index d2fc90931..ba94e8d1a 100644 --- a/src/core/os_staff.c +++ b/src/core/os_staff.c @@ -28,8 +28,8 @@ class OSStaff : public Module { Command *c; - moduleAddAuthor("Anope"); - moduleA