mirror of
https://github.com/anope/anope.git
synced 2026-07-04 15:13:12 +02:00
Moved moduleSet*Help() functions to Module::Set*Help().
Also corrected a few issues with tabs in the help lines for non-core modules caused from the space->tab conversion a while back. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1804 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+49
-7
@@ -219,6 +219,55 @@ class CoreExport Module
|
||||
*/
|
||||
void SetAuthor(const std::string &author);
|
||||
|
||||
/**
|
||||
* Add output to nickserv help.
|
||||
* when doing a /msg nickserv help, your function will be called to allow it to send out a notice() with the code you wish to dispaly
|
||||
* @param func a pointer to the function which will display the code
|
||||
**/
|
||||
void SetNickHelp(void (*func)(User *));
|
||||
|
||||
/**
|
||||
* Add output to chanserv help.
|
||||
* when doing a /msg chanserv help, your function will be called to allow it to send out a notice() with the code you wish to dispaly
|
||||
* @param func a pointer to the function which will display the code
|
||||
**/
|
||||
void SetChanHelp(void (*func)(User *));
|
||||
|
||||
/**
|
||||
* Add output to memoserv help.
|
||||
* when doing a /msg memoserv help, your function will be called to allow it to send out a notice() with the code you wish to dispaly
|
||||
* @param func a pointer to the function which will display the code
|
||||
**/
|
||||
void SetMemoHelp(void (*func)(User *));
|
||||
|
||||
/**
|
||||
* Add output to botserv help.
|
||||
* when doing a /msg botserv help, your function will be called to allow it to send out a notice() with the code you wish to dispaly
|
||||
* @param func a pointer to the function which will display the code
|
||||
**/
|
||||
void SetBotHelp(void (*func)(User *));
|
||||
|
||||
/**
|
||||
* Add output to operserv help.
|
||||
* when doing a /msg operserv help, your function will be called to allow it to send out a notice() with the code you wish to dispaly
|
||||
* @param func a pointer to the function which will display the code
|
||||
**/
|
||||
void SetOperHelp(void (*func)(User *));
|
||||
|
||||
/**
|
||||
* Add output to hostserv help.
|
||||
* when doing a /msg hostserv help, your function will be called to allow it to send out a notice() with the code you wish to dispaly
|
||||
* @param func a pointer to the function which will display the code
|
||||
**/
|
||||
void SetHostHelp(void (*func)(User *));
|
||||
|
||||
/**
|
||||
* Add output to helpserv help.
|
||||
* when doing a /msg helpserv help, your function will be called to allow it to send out a notice() with the code you wish to dispaly
|
||||
* @param func a pointer to the function which will display the code
|
||||
**/
|
||||
void SetHelpHelp(void (*func)(User *));
|
||||
|
||||
/**
|
||||
* Allow a module to add a set of language strings to anope
|
||||
* @param langNumber the language number for the strings
|
||||
@@ -434,14 +483,7 @@ int protocol_module_init(void); /* Load the IRCD Protocol Module up*/
|
||||
void moduleCallBackPrepForUnload(const char *mod_name);
|
||||
MDE void moduleCallBackDeleteEntry(ModuleCallBack * prev);
|
||||
MDE char *moduleGetLastBuffer(void);
|
||||
MDE void moduleSetHelpHelp(void (*func) (User * u));
|
||||
MDE void moduleDisplayHelp(int service, User *u);
|
||||
MDE void moduleSetHostHelp(void (*func) (User * u));
|
||||
MDE void moduleSetOperHelp(void (*func) (User * u));
|
||||
MDE void moduleSetBotHelp(void (*func) (User * u));
|
||||
MDE void moduleSetMemoHelp(void (*func) (User * u));
|
||||
MDE void moduleSetChanHelp(void (*func) (User * u));
|
||||
MDE void moduleSetNickHelp(void (*func) (User * u));
|
||||
MDE int moduleAddHelp(Command * c, int (*func) (User * u));
|
||||
MDE int moduleAddRegHelp(Command * c, int (*func) (User * u));
|
||||
MDE int moduleAddOperHelp(Command * c, int (*func) (User * u));
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ class BSAct : public Module
|
||||
c = createCommand("ACT", do_act, NULL, BOT_HELP_ACT, -1, -1, -1, -1);
|
||||
this->AddCommand(BOTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetBotHelp(myBotServHelp);
|
||||
this->SetBotHelp(myBotServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -31,7 +31,7 @@ class BSAssign : public Module
|
||||
c = createCommand("ASSIGN", do_assign, NULL, BOT_HELP_ASSIGN, -1, -1, -1, -1);
|
||||
this->AddCommand(BOTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetBotHelp(myBotServHelp);
|
||||
this->SetBotHelp(myBotServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ class BSBadwords : public Module
|
||||
c = createCommand("BADWORDS", do_badwords, NULL, BOT_HELP_BADWORDS, -1, -1, -1, -1);
|
||||
this->AddCommand(BOTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetBotHelp(myBotServHelp);
|
||||
this->SetBotHelp(myBotServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class BSBot : public Module
|
||||
c = createCommand("BOT", do_bot, is_services_admin, -1, -1, -1, BOT_SERVADMIN_HELP_BOT, BOT_SERVADMIN_HELP_BOT);
|
||||
this->AddCommand(BOTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetBotHelp(myBotServHelp);
|
||||
this->SetBotHelp(myBotServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -31,7 +31,7 @@ class BSBotList : public Module
|
||||
c = createCommand("BOTLIST", do_botlist, NULL, BOT_HELP_BOTLIST, -1, -1, -1, -1);
|
||||
this->AddCommand(BOTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetBotHelp(myBotServHelp);
|
||||
this->SetBotHelp(myBotServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -32,7 +32,7 @@ class BSInfo : public Module
|
||||
c = createCommand("INFO", do_info, NULL, BOT_HELP_INFO, -1, -1, -1, -1);
|
||||
this->AddCommand(BOTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetBotHelp(myBotServHelp);
|
||||
this->SetBotHelp(myBotServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ class BSKick : public Module
|
||||
c = createCommand("KICK UNDERLINES", NULL, NULL, BOT_HELP_KICK_UNDERLINES, -1, -1, -1, -1);
|
||||
this->AddCommand(BOTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetBotHelp(myBotServHelp);
|
||||
this->SetBotHelp(myBotServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ class BSSay : public Module
|
||||
c = createCommand("SAY", do_say, NULL, BOT_HELP_SAY, -1, -1, -1, -1);
|
||||
this->AddCommand(BOTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetBotHelp(myBotServHelp);
|
||||
this->SetBotHelp(myBotServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ class BSSet : public Module
|
||||
BOT_SERVADMIN_HELP_SET_PRIVATE);
|
||||
this->AddCommand(BOTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetBotHelp(myBotServHelp);
|
||||
this->SetBotHelp(myBotServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -31,7 +31,7 @@ class BSUnassign : public Module
|
||||
c = createCommand("UNASSIGN", do_unassign, NULL, BOT_HELP_UNASSIGN, -1, -1, -1, -1);
|
||||
this->AddCommand(BOTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetBotHelp(myBotServHelp);
|
||||
this->SetBotHelp(myBotServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ class CSAccess : public Module
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("LEVELS", do_levels, NULL, CHAN_HELP_LEVELS, -1, -1, -1, -1);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ class CSAKick : public Module
|
||||
c = createCommand("AKICK", do_akick, NULL, CHAN_HELP_AKICK, -1, -1, -1, -1);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ class CSBan : public Module
|
||||
c = createCommand("UNBAN", do_unban, NULL, CHAN_HELP_UNBAN, -1, -1, -1, -1);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class CSClear : public Module
|
||||
c = createCommand("CLEAR", do_clear, NULL, CHAN_HELP_CLEAR, -1, -1, -1, -1);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class CSDrop : public Module
|
||||
c = createCommand("DROP", do_drop, NULL, -1, CHAN_HELP_DROP, -1, CHAN_SERVADMIN_HELP_DROP, CHAN_SERVADMIN_HELP_DROP);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class CSForbid : public Module
|
||||
c = createCommand("FORBID", do_forbid, is_services_admin, -1, -1, -1, CHAN_SERVADMIN_HELP_FORBID, CHAN_SERVADMIN_HELP_FORBID);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -32,7 +32,7 @@ class CSGetKey : public Module
|
||||
c = createCommand("GETKEY", do_getkey, NULL, CHAN_HELP_GETKEY, -1, -1, -1, -1);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class CSGetPass : public Module
|
||||
c = createCommand("GETPASS", do_getpass, is_services_admin, -1, -1, -1, CHAN_SERVADMIN_HELP_GETPASS, CHAN_SERVADMIN_HELP_GETPASS);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ class CSIdentify : public Module
|
||||
c = createCommand("ID", do_identify, NULL, CHAN_HELP_IDENTIFY, -1, -1, -1, -1);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -32,7 +32,7 @@ class CSInfo : public Module
|
||||
c = createCommand("INFO", do_info, NULL, CHAN_HELP_INFO, -1, CHAN_SERVADMIN_HELP_INFO, CHAN_SERVADMIN_HELP_INFO, CHAN_SERVADMIN_HELP_INFO);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class CSInvite : public Module
|
||||
c = createCommand("INVITE", do_invite, NULL, CHAN_HELP_INVITE, -1, -1, -1, -1);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class CSKick : public Module
|
||||
c = createCommand("KICK", do_cs_kick, NULL, CHAN_HELP_KICK, -1, -1, -1, -1);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ class CSList : public Module
|
||||
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ class CSLogout : public Module
|
||||
c = createCommand("LOGOUT", do_logout, NULL, -1, CHAN_HELP_LOGOUT, -1, CHAN_SERVADMIN_HELP_LOGOUT, CHAN_SERVADMIN_HELP_LOGOUT);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -76,7 +76,7 @@ class CSModes : public Module
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
}
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ class CSRegister : public Module
|
||||
c->help_param1 = s_NickServ;
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -34,7 +34,7 @@ class CSSendPass : public Module
|
||||
-1, -1, -1, -1);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
|
||||
if (!UseMail)
|
||||
{
|
||||
@@ -101,7 +101,7 @@ int do_sendpass(User * u)
|
||||
fprintf(mail->pipe, getstring2(founder, CHAN_SENDPASS_LINE_5),
|
||||
NetworkName);
|
||||
fprintf(mail->pipe, "\n.\n");
|
||||
|
||||
|
||||
MailEnd(mail);
|
||||
|
||||
alog("%s: %s!%s@%s used SENDPASS on %s", s_ChanServ, u->nick,
|
||||
|
||||
+1
-1
@@ -98,7 +98,7 @@ class CSSet : public Module
|
||||
c = createCommand("SET NOEXPIRE", NULL, NULL, -1, -1, -1, CHAN_SERVADMIN_HELP_SET_NOEXPIRE, CHAN_SERVADMIN_HELP_SET_NOEXPIRE);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -32,7 +32,7 @@ class CSStatus : public Module
|
||||
c = createCommand("STATUS", do_status, is_services_admin, -1, -1, -1, CHAN_SERVADMIN_HELP_STATUS, CHAN_SERVADMIN_HELP_STATUS);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ class CSSuspend : public Module
|
||||
c = createCommand("UNSUSPEND", do_unsuspend, is_services_oper, -1, -1, -1, CHAN_SERVADMIN_HELP_UNSUSPEND, CHAN_SERVADMIN_HELP_UNSUSPEND);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class CSTopic : public Module
|
||||
c = createCommand("TOPIC", do_cs_topic, NULL, CHAN_HELP_TOPIC, -1, -1,-1, -1);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -105,7 +105,7 @@ class CSXOP : public Module
|
||||
c = createCommand("VOP", do_vop, NULL, CHAN_HELP_VOP, -1, -1, -1, -1);
|
||||
this->AddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetChanHelp(myChanServHelp);
|
||||
this->SetChanHelp(myChanServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -32,7 +32,7 @@ class HSDel : public Module
|
||||
c = createCommand("DEL", do_del, is_host_remover, HOST_HELP_DEL, -1, -1, -1, -1);
|
||||
this->AddCommand(HOSTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetHostHelp(myHostServHelp);
|
||||
this->SetHostHelp(myHostServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class HSDelAll : public Module
|
||||
c = createCommand("DELALL", do_delall, is_host_remover, HOST_HELP_DELALL, -1, -1, -1, -1);
|
||||
this->AddCommand(HOSTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetHostHelp(myHostServHelp);
|
||||
this->SetHostHelp(myHostServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ class HSGroup : public Module
|
||||
c = createCommand("GROUP", do_group, NULL, HOST_HELP_GROUP, -1, -1, -1, -1);
|
||||
this->AddCommand(HOSTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetHostHelp(myHostServHelp);
|
||||
this->SetHostHelp(myHostServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ class HSList : public Module
|
||||
|
||||
c = createCommand("LIST", listOut, is_services_oper, -1, -1, HOST_HELP_LIST, HOST_HELP_LIST, HOST_HELP_LIST);
|
||||
this->AddCommand(HOSTSERV, c, MOD_UNIQUE);
|
||||
moduleSetHostHelp(myHostServHelp);
|
||||
this->SetHostHelp(myHostServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class HSOff : public Module
|
||||
c = createCommand("OFF", do_off, NULL, HOST_HELP_OFF, -1, -1, -1, -1);
|
||||
this->AddCommand(HOSTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetHostHelp(myHostServHelp);
|
||||
this->SetHostHelp(myHostServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class HSOn : public Module
|
||||
c = createCommand("ON", do_on, NULL, HOST_HELP_ON, -1, -1, -1, -1);
|
||||
this->AddCommand(HOSTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetHostHelp(myHostServHelp);
|
||||
this->SetHostHelp(myHostServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class HSSet : public Module
|
||||
c = createCommand("SET", myDoSet, is_host_setter, HOST_HELP_SET, -1, -1, -1, -1);
|
||||
this->AddCommand(HOSTSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetHostHelp(myHostServHelp);
|
||||
this->SetHostHelp(myHostServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ class HSSetAll : public Module
|
||||
|
||||
c = createCommand("SETALL", do_setall, is_host_setter, HOST_HELP_SETALL, -1, -1, -1, -1);
|
||||
this->AddCommand(HOSTSERV, c, MOD_UNIQUE);
|
||||
moduleSetHostHelp(myHostServHelp);
|
||||
this->SetHostHelp(myHostServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -30,7 +30,7 @@ class MSCancel : public Module
|
||||
this->SetType(CORE);
|
||||
c = createCommand("CANCEL", do_cancel, NULL, MEMO_HELP_CANCEL, -1, -1, -1, -1);
|
||||
this->AddCommand(MEMOSERV, c, MOD_UNIQUE);
|
||||
moduleSetMemoHelp(myMemoServHelp);
|
||||
this->SetMemoHelp(myMemoServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -30,7 +30,7 @@ class MSCheck : public Module
|
||||
this->SetType(CORE);
|
||||
c = createCommand("CHECK", do_memocheck, NULL, MEMO_HELP_CHECK, -1, -1, -1, -1);
|
||||
this->AddCommand(MEMOSERV, c, MOD_UNIQUE);
|
||||
moduleSetMemoHelp(myMemoServHelp);
|
||||
this->SetMemoHelp(myMemoServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ class MSDel : public Module
|
||||
this->SetType(CORE);
|
||||
c = createCommand("DEL", do_del, NULL, MEMO_HELP_DEL, -1, -1, -1, -1);
|
||||
this->AddCommand(MEMOSERV, c, MOD_UNIQUE);
|
||||
moduleSetMemoHelp(myMemoServHelp);
|
||||
this->SetMemoHelp(myMemoServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -30,7 +30,7 @@ class MSInfo : public Module
|
||||
this->SetType(CORE);
|
||||
c = createCommand("INFO", do_info, NULL, -1, MEMO_HELP_INFO, -1, MEMO_SERVADMIN_HELP_INFO, MEMO_SERVADMIN_HELP_INFO);
|
||||
this->AddCommand(MEMOSERV, c, MOD_UNIQUE);
|
||||
moduleSetMemoHelp(myMemoServHelp);
|
||||
this->SetMemoHelp(myMemoServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -31,7 +31,7 @@ class MSList : public Module
|
||||
this->SetType(CORE);
|
||||
c = createCommand("LIST", do_list, NULL, MEMO_HELP_LIST, -1, -1, -1, -1);
|
||||
this->AddCommand(MEMOSERV, c, MOD_UNIQUE);
|
||||
moduleSetMemoHelp(myMemoServHelp);
|
||||
this->SetMemoHelp(myMemoServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -34,7 +34,7 @@ class MSRead : public Module
|
||||
this->SetType(CORE);
|
||||
c = createCommand("READ", do_read, NULL, MEMO_HELP_READ, -1, -1, -1, -1);
|
||||
this->AddCommand(MEMOSERV, c, MOD_UNIQUE);
|
||||
moduleSetMemoHelp(myMemoServHelp);
|
||||
this->SetMemoHelp(myMemoServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -30,7 +30,7 @@ class MSRSend : public Module
|
||||
this->SetType(CORE);
|
||||
c = createCommand("RSEND", do_rsend, NULL, MEMO_HELP_RSEND, -1, -1, -1, -1);
|
||||
this->AddCommand(MEMOSERV, c, MOD_UNIQUE);
|
||||
moduleSetMemoHelp(myMemoServHelp);
|
||||
this->SetMemoHelp(myMemoServHelp);
|
||||
|
||||
if (!MSMemoReceipt)
|
||||
throw ModuleException("Don't like memo reciepts, or something.");
|
||||
|
||||
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -30,7 +30,7 @@ class MSSend : public Module
|
||||
this->SetType(CORE);
|
||||
c = createCommand("SEND", do_send, NULL, MEMO_HELP_SEND, -1, -1, -1, -1);
|
||||
this->AddCommand(MEMOSERV, c, MOD_UNIQUE);
|
||||
moduleSetMemoHelp(myMemoServHelp);
|
||||
this->SetMemoHelp(myMemoServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -30,7 +30,7 @@ class MSSendAll : public Module
|
||||
this->SetType(CORE);
|
||||
c = createCommand("SENDALL", do_sendall, is_services_admin, -1, -1, -1, MEMO_HELP_SENDALL, MEMO_HELP_SENDALL);
|
||||
this->AddCommand(MEMOSERV, c, MOD_UNIQUE);
|
||||
moduleSetMemoHelp(myMemoServHelp);
|
||||
this->SetMemoHelp(myMemoServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@ class MSSet : public Module
|
||||
c->help_param1 = reinterpret_cast<char *>(static_cast<long>(MSMaxMemos));
|
||||
this->AddCommand(MEMOSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetMemoHelp(myMemoServHelp);
|
||||
this->SetMemoHelp(myMemoServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -30,7 +30,7 @@ class MSStaff : public Module
|
||||
this->SetType(CORE);
|
||||
c = createCommand("STAFF", do_staff, is_services_oper, -1, -1, MEMO_HELP_STAFF, MEMO_HELP_STAFF, MEMO_HELP_STAFF);
|
||||
this->AddCommand(MEMOSERV, c, MOD_UNIQUE);
|
||||
moduleSetMemoHelp(myMemoServHelp);
|
||||
this->SetMemoHelp(myMemoServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class NSAccess : public Module
|
||||
c = createCommand("ACCESS", do_access, NULL, NICK_HELP_ACCESS, -1, -1, -1, -1);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -32,7 +32,7 @@ class NSAList : public Module
|
||||
c = createCommand("ALIST", do_alist, NULL, -1, NICK_HELP_ALIST, -1, NICK_SERVADMIN_HELP_ALIST, NICK_SERVADMIN_HELP_ALIST);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ class NSDrop : public Module
|
||||
c = createCommand("UNLINK", do_unlink, NULL, -1, -1, -1, -1, -1);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ class NSForbid : public Module
|
||||
c = createCommand("FORBID", do_forbid, is_services_admin, -1, -1, -1, NICK_SERVADMIN_HELP_FORBID, NICK_SERVADMIN_HELP_FORBID);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
*
|
||||
* A simple call to check for all emails that a user may have registered
|
||||
* with. It returns the nicks that match the email you provide. Wild
|
||||
* Cards are not excepted. Must use user@email-host.
|
||||
*
|
||||
* A simple call to check for all emails that a user may have registered
|
||||
* with. It returns the nicks that match the email you provide. Wild
|
||||
* Cards are not excepted. Must use user@email-host.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -37,7 +37,7 @@ class NSGetEMail : public Module
|
||||
c = createCommand("GETEMAIL", do_getemail, is_services_admin, -1, -1, -1, NICK_SERVADMIN_HELP_GETEMAIL, NICK_SERVADMIN_HELP_GETEMAIL);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class NSGetPass : public Module
|
||||
c = createCommand("GETPASS", do_getpass, is_services_admin, -1, -1, -1, NICK_SERVADMIN_HELP_GETPASS, NICK_SERVADMIN_HELP_GETPASS);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -32,7 +32,7 @@ class NSGhost : public Module
|
||||
c = createCommand("GHOST", do_ghost, NULL, NICK_HELP_GHOST, -1, -1, -1, -1);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ class NSGroup : public Module
|
||||
c = createCommand("LISTLINKS", do_listlinks, NULL, -1, -1, -1, -1, -1);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ class NSIdentify : public Module
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+3
-3
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -33,7 +33,7 @@ class NSInfo : public Module
|
||||
c = createCommand("INFO", do_info, NULL, NICK_HELP_INFO, -1, NICK_HELP_INFO, NICK_SERVADMIN_HELP_INFO, NICK_SERVADMIN_HELP_INFO);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ class NSList : public Module
|
||||
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -35,7 +35,7 @@ class NSLogout : public Module
|
||||
c = createCommand("LOGOUT", do_logout, NULL, -1, NICK_HELP_LOGOUT, -1, NICK_SERVADMIN_HELP_LOGOUT, NICK_SERVADMIN_HELP_LOGOUT);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -106,7 +106,7 @@ int do_logout(User * u)
|
||||
if (u->na->nc->flags & NI_KILLPROTECT) {
|
||||
del_ns_timeout(u->na, TO_COLLIDE);
|
||||
}
|
||||
|
||||
|
||||
/* Send out an event */
|
||||
send_event(EVENT_NICK_LOGOUT, 1, u2->nick);
|
||||
}
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -34,7 +34,7 @@ class NSRecover : public Module
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
moduleAddHelp(c, myHelpResonse);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -58,7 +58,7 @@ int myHelpResonse(User * u)
|
||||
|
||||
/* Convert NSReleaseTimeout seconds to string format */
|
||||
duration(u->na, relstr, sizeof(relstr), NSReleaseTimeout);
|
||||
|
||||
|
||||
notice_help(s_NickServ, u, NICK_HELP_RECOVER, relstr);
|
||||
do_help_limited(s_NickServ, u, c);
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ class NSRegister : public Module
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -34,7 +34,7 @@ class NSRelease : public Module
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
moduleAddHelp(c, myHelpResonse);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -60,7 +60,7 @@ int myHelpResonse(User * u)
|
||||
|
||||
/* Convert NSReleaseTimeout seconds to string format */
|
||||
duration(u->na, relstr, sizeof(relstr), NSReleaseTimeout);
|
||||
|
||||
|
||||
notice_help(s_NickServ, u, NICK_HELP_RELEASE, relstr);
|
||||
do_help_limited(s_NickServ, u, c);
|
||||
|
||||
|
||||
+1
-1
@@ -75,7 +75,7 @@ class NSSASet : public Module
|
||||
c = createCommand("SASET LANGUAGE", NULL, is_services_oper, -1, -1, -1, -1, NICK_HELP_SASET_LANGUAGE);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -33,7 +33,7 @@ class NSSendPass : public Module
|
||||
c = createCommand("SENDPASS", do_sendpass, NULL, NICK_HELP_SENDPASS, -1, -1, -1, -1);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
if (!UseMail)
|
||||
{
|
||||
throw ModuleException("Not using mail, whut.");
|
||||
|
||||
+1
-1
@@ -70,7 +70,7 @@ class NSSet : public Module
|
||||
c = createCommand("SET AUTOOP", NULL, NULL, NICK_HELP_SET_AUTOOP, -1, -1, -1, -1);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -32,7 +32,7 @@ class NSStatus : public Module
|
||||
c = createCommand("STATUS", do_status, NULL, NICK_HELP_STATUS, -1, -1, -1, -1);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ class NSSuspend : public Module
|
||||
c = createCommand("UNSUSPEND", do_unsuspend, is_services_oper, -1, -1, -1, NICK_SERVADMIN_HELP_UNSUSPEND, NICK_SERVADMIN_HELP_UNSUSPEND);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class NSUpdate : public Module
|
||||
c = createCommand("UPDATE", do_nickupdate, NULL, NICK_HELP_UPDATE, -1, -1, -1, -1);
|
||||
this->AddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
this->SetNickHelp(myNickServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ class OSAdmin : public Module
|
||||
c->help_param1 = s_NickServ;
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ class OSAKill : public Module
|
||||
c = createCommand("AKILL", do_akill, is_services_oper, OPER_HELP_AKILL, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class OSChanKill : public Module
|
||||
c = createCommand("CHANKILL", do_chankill, is_services_admin, OPER_HELP_CHANKILL, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -35,7 +35,7 @@ class OSChanList : public Module
|
||||
c = createCommand("CHANLIST", do_chanlist, is_services_oper, OPER_HELP_CHANLIST, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ class OSClearModes : public Module
|
||||
c = createCommand("CLEARMODES", do_clearmodes, is_services_oper, OPER_HELP_CLEARMODES, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ class OSDEFCON : public Module
|
||||
c = createCommand("DEFCON", do_defcon, is_services_admin, OPER_HELP_DEFCON, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class OSGlobal : public Module
|
||||
c = createCommand("GLOBAL", do_global, is_services_admin, OPER_HELP_GLOBAL, -1, -1, -1, -1);
|
||||
c->help_param1 = s_GlobalNoticer;
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -32,7 +32,7 @@ class OSIgnore : public Module
|
||||
c = createCommand("IGNORE", do_ignoreuser, is_services_admin, OPER_HELP_IGNORE, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class OSJupe : public Module
|
||||
c = createCommand("JUPE", do_jupe, is_services_admin, OPER_HELP_JUPE, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class OSKick : public Module
|
||||
c = createCommand("KICK", do_os_kick, is_services_oper, OPER_HELP_KICK, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ class OSLogonNews : public Module
|
||||
c->help_param1 = sstrdup(buf);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
|
||||
hook = createEventHook(EVENT_RELOAD, reload_config);
|
||||
if (this->AddEventHook(hook) != MOD_ERR_OK)
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class OSMode : public Module
|
||||
c = createCommand("MODE", do_os_mode, is_services_oper, OPER_HELP_MODE, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -32,7 +32,7 @@ class OSModInfo : public Module
|
||||
c = createCommand("MODINFO", do_modinfo, NULL, -1, -1, -1, -1, OPER_HELP_MODINFO);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -32,7 +32,7 @@ class OSModList : public Module
|
||||
c = createCommand("MODLIST", do_modlist, NULL, -1, -1, -1, -1, OPER_HELP_MODLIST);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -32,7 +32,7 @@ class OSModLoad : public Module
|
||||
c = createCommand("MODLOAD", do_modload, is_services_root, -1, -1, -1, -1, OPER_HELP_MODLOAD);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ class OSModUnLoad : public Module
|
||||
c = createCommand("MODUNLOAD", do_modunload, is_services_root, -1, -1, -1, -1, OPER_HELP_MODUNLOAD);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class OSNOOP : public Module
|
||||
c = createCommand("NOOP", do_noop, is_services_admin, OPER_HELP_NOOP, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class OSOLine : public Module
|
||||
c = createCommand("OLINE", do_operoline, is_services_root, OPER_HELP_OLINE, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
|
||||
if (!ircd->omode)
|
||||
throw ModuleException("Your IRCd does not support OMODE.");
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ class OSOper : public Module
|
||||
c->help_param1 = s_NickServ;
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ class OSOperNews : public Module
|
||||
c->help_param1 = sstrdup(buf);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
|
||||
hook = createEventHook(EVENT_RELOAD, reload_config);
|
||||
if (this->AddEventHook(hook) != MOD_ERR_OK)
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ class OSQuit : public Module
|
||||
c = createCommand("QUIT", do_os_quit, is_services_root, OPER_HELP_QUIT, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -35,7 +35,7 @@ class OSRandomNews : public Module
|
||||
c = createCommand("RANDOMNEWS", do_randomnews, is_services_admin, NEWS_HELP_RANDOM, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class OSReload : public Module
|
||||
c = createCommand("RELOAD", do_reload, is_services_root, OPER_HELP_RELOAD, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ class OSRestart : public Module
|
||||
c = createCommand("RESTART", do_restart, is_services_root, OPER_HELP_RESTART, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
@@ -36,7 +36,7 @@ class OSSession : public Module
|
||||
c = createCommand("EXCEPTION", do_exception, is_services_oper, OPER_HELP_EXCEPTION, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ class OSSet : public Module
|
||||
c = createCommand("SET SUPERADMIN", NULL, NULL, OPER_HELP_SET_SUPERADMIN, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ class OSSGLine : public Module
|
||||
OPER_HELP_SGLINE, -1, -1, -1, -1);
|
||||
this->AddCommand(OPERSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetOperHelp(myOperServHelp);
|
||||
this->SetOperHelp(myOperServHelp);
|
||||
|
||||
if (!ircd->sgline)
|
||||
throw ModuleException("Your IRCd does not support SGLine");
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user