mirror of
https://github.com/anope/anope.git
synced 2026-07-05 21:53:14 +02:00
Removed command position from Module::AddCommand(), it is no longer used because of OnPreCommand/OnPostCommand
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2505 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+1
-3
@@ -440,11 +440,9 @@ class CoreExport Module
|
||||
* e.g. AddCommand(NICKSERV,c,MOD_HEAD);
|
||||
* @param cmdTable the services to add the command to
|
||||
* @param c the command to add
|
||||
* @param pos the position to add to, MOD_HEAD, MOD_TAIL, MOD_UNIQUE
|
||||
* @see createCommand
|
||||
* @return MOD_ERR_OK on successfully adding the command
|
||||
*/
|
||||
int AddCommand(CommandHash *cmdTable[], Command * c, int pos);
|
||||
int AddCommand(CommandHash *cmdTable[], Command * c);
|
||||
|
||||
/**
|
||||
* Delete a command from the service given.
|
||||
|
||||
+1
-1
@@ -75,7 +75,7 @@ class BSAct : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(BOTSERV, new CommandBSAct(), MOD_UNIQUE);
|
||||
this->AddCommand(BOTSERV, new CommandBSAct());
|
||||
}
|
||||
void BotServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -86,7 +86,7 @@ class BSAssign : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(BOTSERV, new CommandBSAssign, MOD_UNIQUE);
|
||||
this->AddCommand(BOTSERV, new CommandBSAssign);
|
||||
}
|
||||
void BotServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -295,7 +295,7 @@ class BSBadwords : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(BOTSERV, new CommandBSBadwords, MOD_UNIQUE);
|
||||
this->AddCommand(BOTSERV, new CommandBSBadwords);
|
||||
}
|
||||
void BotServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -433,7 +433,7 @@ class BSBot : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(BOTSERV, new CommandBSBot(), MOD_UNIQUE);
|
||||
this->AddCommand(BOTSERV, new CommandBSBot());
|
||||
}
|
||||
void BotServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -78,7 +78,7 @@ class BSBotList : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(BOTSERV, new CommandBSBotList(), MOD_UNIQUE);
|
||||
this->AddCommand(BOTSERV, new CommandBSBotList());
|
||||
}
|
||||
void BotServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ class BSHelp : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(BOTSERV, new CommandBSHelp(), MOD_UNIQUE);
|
||||
this->AddCommand(BOTSERV, new CommandBSHelp());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -256,7 +256,7 @@ class BSInfo : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(BOTSERV, new CommandBSInfo(), MOD_UNIQUE);
|
||||
this->AddCommand(BOTSERV, new CommandBSInfo());
|
||||
}
|
||||
void BotServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -348,7 +348,7 @@ class BSKick : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(BOTSERV, new CommandBSKick(), MOD_UNIQUE);
|
||||
this->AddCommand(BOTSERV, new CommandBSKick());
|
||||
}
|
||||
void BotServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -82,7 +82,7 @@ class BSSay : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(BOTSERV, new CommandBSSay(), MOD_UNIQUE);
|
||||
this->AddCommand(BOTSERV, new CommandBSSay());
|
||||
}
|
||||
void BotServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -186,7 +186,7 @@ class BSSet : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(BOTSERV, new CommandBSSet(), MOD_UNIQUE);
|
||||
this->AddCommand(BOTSERV, new CommandBSSet());
|
||||
}
|
||||
void BotServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -62,7 +62,7 @@ class BSUnassign : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(BOTSERV, new CommandBSUnassign, MOD_UNIQUE);
|
||||
this->AddCommand(BOTSERV, new CommandBSUnassign);
|
||||
}
|
||||
void BotServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -490,8 +490,8 @@ class CSAccess : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(CHANSERV, new CommandCSAccess(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSLevels(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSAccess());
|
||||
this->AddCommand(CHANSERV, new CommandCSLevels());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -665,7 +665,7 @@ class CSAKick : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSAKick(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSAKick());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
+2
-2
@@ -167,8 +167,8 @@ class CSBan : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSBan(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSUnban(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSBan());
|
||||
this->AddCommand(CHANSERV, new CommandCSUnban());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -346,7 +346,7 @@ class CSClear : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSClear(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSClear());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -116,7 +116,7 @@ class CSDrop : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSDrop(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSDrop());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -126,7 +126,7 @@ class CSForbid : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSForbid(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSForbid());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -66,7 +66,7 @@ class CSGetKey : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSGetKey(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSGetKey());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -66,7 +66,7 @@ class CSGetPass : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSGetPass(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSGetPass());
|
||||
|
||||
char tmp_pass[PASSMAX];
|
||||
if (!enc_decrypt("tmp", tmp_pass, PASSMAX - 1))
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ class CSHelp : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSHelp(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSHelp());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -92,9 +92,9 @@ class CSIdentify : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSIdentify("IDENTIFY"), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSIdentify("IDENTIFY"));
|
||||
// XXX: we need aliases.
|
||||
this->AddCommand(CHANSERV, new CommandCSIdentify("ID"), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSIdentify("ID"));
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -165,7 +165,7 @@ class CSInfo : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSInfo(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSInfo());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -72,7 +72,7 @@ class CSInvite : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSInvite(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSInvite());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -101,7 +101,7 @@ class CSKick : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSKick(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSKick());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -185,7 +185,7 @@ public:
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSList(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSList());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -118,7 +118,7 @@ class CSLogout : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSLogout(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSLogout());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
+12
-12
@@ -348,33 +348,33 @@ class CSModes : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(CHANSERV, new CommandCSOp(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSDeOp(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSVoice(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSDeVoice(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSOp());
|
||||
this->AddCommand(CHANSERV, new CommandCSDeOp());
|
||||
this->AddCommand(CHANSERV, new CommandCSVoice());
|
||||
this->AddCommand(CHANSERV, new CommandCSDeVoice());
|
||||
|
||||
if (ircd->halfop)
|
||||
{
|
||||
this->AddCommand(CHANSERV, new CommandCSHalfOp(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSDeHalfOp(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSHalfOp());
|
||||
this->AddCommand(CHANSERV, new CommandCSDeHalfOp());
|
||||
}
|
||||
|
||||
if (ircd->protect)
|
||||
{
|
||||
this->AddCommand(CHANSERV, new CommandCSProtect(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSDeProtect(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSProtect());
|
||||
this->AddCommand(CHANSERV, new CommandCSDeProtect());
|
||||
}
|
||||
|
||||
if (ircd->admin)
|
||||
{
|
||||
this->AddCommand(CHANSERV, new CommandCSProtect(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSDeProtect(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSProtect());
|
||||
this->AddCommand(CHANSERV, new CommandCSDeProtect());
|
||||
}
|
||||
|
||||
if (ircd->owner)
|
||||
{
|
||||
this->AddCommand(CHANSERV, new CommandCSOwner(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSDeOwner(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSOwner());
|
||||
this->AddCommand(CHANSERV, new CommandCSDeOwner());
|
||||
}
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
|
||||
@@ -147,7 +147,7 @@ class CSRegister : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(CHANSERV, new CommandCSRegister(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSRegister());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -91,7 +91,7 @@ class CSSendPass : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(CHANSERV, new CommandCSSendPass(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSSendPass());
|
||||
|
||||
if (!UseMail)
|
||||
throw ModuleException("sendpass may not be loaded if UseMail is loaded");
|
||||
|
||||
+1
-1
@@ -725,7 +725,7 @@ class CSSet : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(CHANSERV, new CommandCSSet(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSSet());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -67,7 +67,7 @@ class CSStatus : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(CHANSERV, new CommandCSStatus(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSStatus());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -187,8 +187,8 @@ class CSSuspend : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(CHANSERV, new CommandCSSuspend(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSUnSuspend(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSSuspend());
|
||||
this->AddCommand(CHANSERV, new CommandCSUnSuspend());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -89,7 +89,7 @@ class CSTopic : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(CHANSERV, new CommandCSTopic(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSTopic());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
+4
-4
@@ -497,11 +497,11 @@ class CSXOP : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(CHANSERV, new CommandCSAOP(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSAOP());
|
||||
if (ircd->halfop)
|
||||
this->AddCommand(CHANSERV, new CommandCSHOP(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSSOP(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSVOP(), MOD_UNIQUE);
|
||||
this->AddCommand(CHANSERV, new CommandCSHOP());
|
||||
this->AddCommand(CHANSERV, new CommandCSSOP());
|
||||
this->AddCommand(CHANSERV, new CommandCSVOP());
|
||||
}
|
||||
void ChanServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@ class HSDel : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(HOSTSERV, new CommandHSDel(), MOD_UNIQUE);
|
||||
this->AddCommand(HOSTSERV, new CommandHSDel());
|
||||
}
|
||||
void HostServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -70,7 +70,7 @@ class HSDelAll : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(HOSTSERV, new CommandHSDelAll(), MOD_UNIQUE);
|
||||
this->AddCommand(HOSTSERV, new CommandHSDelAll());
|
||||
}
|
||||
void HostServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -82,7 +82,7 @@ class HSGroup : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(HOSTSERV, new CommandHSGroup(), MOD_UNIQUE);
|
||||
this->AddCommand(HOSTSERV, new CommandHSGroup());
|
||||
}
|
||||
void HostServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ class HSHelp : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(HOSTSERV, new CommandHSHelp(), MOD_UNIQUE);
|
||||
this->AddCommand(HOSTSERV, new CommandHSHelp());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -151,7 +151,7 @@ class HSList : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(HOSTSERV, new CommandHSList(), MOD_UNIQUE);
|
||||
this->AddCommand(HOSTSERV, new CommandHSList());
|
||||
}
|
||||
void HostServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ class HSOff : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(HOSTSERV, new CommandHSOff(), MOD_UNIQUE);
|
||||
this->AddCommand(HOSTSERV, new CommandHSOff());
|
||||
}
|
||||
void HostServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -71,7 +71,7 @@ class HSOn : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(HOSTSERV, new CommandHSOn(), MOD_UNIQUE);
|
||||
this->AddCommand(HOSTSERV, new CommandHSOn());
|
||||
}
|
||||
void HostServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -160,7 +160,7 @@ class HSSet : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(HOSTSERV, new CommandHSSet(), MOD_UNIQUE);
|
||||
this->AddCommand(HOSTSERV, new CommandHSSet());
|
||||
}
|
||||
void HostServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -161,7 +161,7 @@ class HSSetAll : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(HOSTSERV, new CommandHSSetAll(), MOD_UNIQUE);
|
||||
this->AddCommand(HOSTSERV, new CommandHSSetAll());
|
||||
}
|
||||
void HostServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -79,7 +79,7 @@ class MSCancel : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSCancel(), MOD_UNIQUE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSCancel());
|
||||
}
|
||||
void MemoServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@ class MSCheck : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSCheck(), MOD_UNIQUE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSCheck());
|
||||
}
|
||||
void MemoServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -152,7 +152,7 @@ class MSDel : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSDel(), MOD_UNIQUE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSDel());
|
||||
}
|
||||
void MemoServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ class MSHelp : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSHelp(), MOD_UNIQUE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSHelp());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -209,7 +209,7 @@ class MSInfo : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSInfo(), MOD_UNIQUE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSInfo());
|
||||
}
|
||||
void MemoServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -116,7 +116,7 @@ class MSList : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSList(), MOD_UNIQUE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSList());
|
||||
}
|
||||
void MemoServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -125,7 +125,7 @@ class MSRead : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSRead(), MOD_UNIQUE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSRead());
|
||||
}
|
||||
void MemoServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -86,7 +86,7 @@ class MSRSend : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSRSend(), MOD_UNIQUE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSRSend());
|
||||
|
||||
if (!MSMemoReceipt)
|
||||
throw ModuleException("Don't like memo reciepts, or something.");
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ class MSSend : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSSend(), MOD_UNIQUE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSSend());
|
||||
}
|
||||
void MemoServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -72,7 +72,7 @@ class MSSendAll : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSSendAll(), MOD_UNIQUE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSSendAll());
|
||||
}
|
||||
void MemoServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -260,7 +260,7 @@ class MSSet : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(MEMOSERV, new CommandMSSet(), MOD_UNIQUE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSSet());
|
||||
}
|
||||
void MemoServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -70,7 +70,7 @@ class MSStaff : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSStaff(), MOD_UNIQUE);
|
||||
this->AddCommand(MEMOSERV, new CommandMSStaff());
|
||||
}
|
||||
void MemoServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -180,7 +180,7 @@ class NSAccess : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSAccess(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSAccess());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -148,7 +148,7 @@ class NSAList : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSAList(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSAList());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -116,7 +116,7 @@ class NSDrop : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSDrop(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSDrop());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -109,7 +109,7 @@ class NSForbid : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSForbid(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSForbid());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -77,7 +77,7 @@ class NSGetEMail : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSGetEMail(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSGetEMail());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -81,7 +81,7 @@ class NSGetPass : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSGetPass(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSGetPass());
|
||||
|
||||
char tmp_pass[PASSMAX];
|
||||
if (!enc_decrypt("tmp", tmp_pass, PASSMAX - 1))
|
||||
|
||||
+1
-1
@@ -95,7 +95,7 @@ class NSGhost : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSGhost(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSGhost());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
+2
-2
@@ -224,8 +224,8 @@ class NSGroup : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSGroup(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSGList(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSGroup());
|
||||
this->AddCommand(NICKSERV, new CommandNSGList());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@ class NSHelp : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSHelp(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSHelp());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -129,8 +129,8 @@ class NSIdentify : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSIdentify("IDENTIFY"), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSIdentify("ID"), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSIdentify("IDENTIFY"));
|
||||
this->AddCommand(NICKSERV, new CommandNSIdentify("ID"));
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -217,7 +217,7 @@ class NSInfo : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSInfo(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSInfo());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -219,7 +219,7 @@ class NSList : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSList(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSList());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -113,7 +113,7 @@ class NSLogout : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSLogout(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSLogout());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -114,7 +114,7 @@ class NSRecover : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSRecover(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSRecover());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -385,9 +385,9 @@ class NSRegister : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSRegister(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSConfirm("CONFIRM", 0, 1), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSResend(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSRegister());
|
||||
this->AddCommand(NICKSERV, new CommandNSConfirm("CONFIRM", 0, 1));
|
||||
this->AddCommand(NICKSERV, new CommandNSResend());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -96,7 +96,7 @@ class NSRelease : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSRelease(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSRelease());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -583,7 +583,7 @@ public:
|
||||
this->SetVersion("$Id: ns_set.c 850 2005-08-07 14:52:04Z geniusdex $");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSSASet(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSSASet());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -92,7 +92,7 @@ class NSSendPass : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSSendPass(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSSendPass());
|
||||
|
||||
if (!UseMail)
|
||||
throw ModuleException("Not using mail, whut.");
|
||||
|
||||
+1
-1
@@ -540,7 +540,7 @@ class NSSet : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSSet(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSSet());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -70,7 +70,7 @@ class NSStatus : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSStatus(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSStatus());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -182,8 +182,8 @@ class NSSuspend : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(NICKSERV, new CommandNSSuspend(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSUnSuspend(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSSuspend());
|
||||
this->AddCommand(NICKSERV, new CommandNSUnSuspend());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -58,7 +58,7 @@ class NSUpdate : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(NICKSERV, new CommandNSUpdate(), MOD_UNIQUE);
|
||||
this->AddCommand(NICKSERV, new CommandNSUpdate());
|
||||
}
|
||||
void NickServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -329,7 +329,7 @@ class OSAKill : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(OPERSERV, new CommandOSAKill(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSAKill());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -109,7 +109,7 @@ class OSChanKill : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSChanKill(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSChanKill());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -86,7 +86,7 @@ class OSChanList : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSChanList(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSChanList());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -251,7 +251,7 @@ class OSClearModes : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSClearModes(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSClearModes());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -97,7 +97,7 @@ class OSDEFCON : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSDEFCON(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSDEFCON());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -53,7 +53,7 @@ class OSGlobal : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSGlobal(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSGlobal());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ class OSHelp : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(OPERSERV, new CommandOSHelp(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSHelp());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ class OSIgnore : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(OPERSERV, new CommandOSIgnore(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSIgnore());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ class OSJupe : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSJupe(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSJupe());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ class OSKick : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSKick(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSKick());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ class OSMode : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSMode(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSMode());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -73,7 +73,7 @@ class OSModInfo : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(OPERSERV, new CommandOSModInfo(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSModInfo());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -177,7 +177,7 @@ class OSModList : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSModList(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSModList());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -64,7 +64,7 @@ class OSModLoad : public Module
|
||||
this->SetType(CORE);
|
||||
this->SetPermanent(true);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSModLoad(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSModLoad());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -66,7 +66,7 @@ class OSModUnLoad : public Module
|
||||
this->SetType(CORE);
|
||||
this->SetPermanent(true);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSModUnLoad(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSModUnLoad());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
+3
-3
@@ -355,10 +355,10 @@ class OSNews : public Module
|
||||
this->SetType(CORE);
|
||||
|
||||
OSLogonNews = new CommandOSLogonNews();
|
||||
this->AddCommand(OPERSERV, OSLogonNews, MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, OSLogonNews);
|
||||
OSOperNews = new CommandOSOperNews();
|
||||
this->AddCommand(OPERSERV, OSOperNews, MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSRandomNews(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, OSOperNews);
|
||||
this->AddCommand(OPERSERV, new CommandOSRandomNews());
|
||||
ModuleManager::Attach(I_OnReload, this);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@ class OSNOOP : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSNOOP(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSNOOP());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
+1
-1
@@ -71,7 +71,7 @@ class OSOLine : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSOLine(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSOLine());
|
||||
|
||||
if (!ircd->omode)
|
||||
throw ModuleException("Your IRCd does not support OMODE.");
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ class OSQuit : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSQuit(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSQuit());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -55,7 +55,7 @@ class OSReload : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSReload(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSReload());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -52,7 +52,7 @@ class OSRestart : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(OPERSERV, new CommandOSRestart(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSRestart());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
@@ -459,8 +459,8 @@ class OSSession : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(OPERSERV, new CommandOSSession(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSException(), MOD_UNIQUE);
|
||||
this->AddCommand(OPERSERV, new CommandOSSession());
|
||||
this->AddCommand(OPERSERV, new CommandOSException());
|
||||
}
|
||||
void OperServHelp(User *u)
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user