1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 12:33:12 +02:00

+- Fixed some slave work.. return MOD_SUCCESS; in all command modules..

This commit is contained in:
stskeeps
2001-12-24 11:19:49 +00:00
parent 23bc0b40e6
commit 129bc36adf
39 changed files with 164 additions and 4 deletions
+1
View File
@@ -1022,3 +1022,4 @@ seen. gmtime warning still there
- Updated /info
- Added back good old error reporting in ./unreal start
- Changed to beta5
- Fixed some slave work.. return MOD_SUCCESS; in all command modules..
+3
View File
@@ -78,6 +78,7 @@ int m_adminchat_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_ADMINCHAT, TOK_ADMINCHAT, m_admins, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -87,6 +88,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_adminchat_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -102,6 +104,7 @@ int m_adminchat_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_adminchat_Header.name);
}
return MOD_SUCCESS;
}
/*
+4
View File
@@ -79,6 +79,8 @@ int m_akill_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_AKILL, TOK_AKILL, m_akill, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -88,6 +90,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_akill_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -103,6 +106,7 @@ int m_akill_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_akill_Header.name);
}
return MOD_SUCCESS;
}
+3
View File
@@ -72,6 +72,7 @@ int m_away_Init(int module_load)
#endif
{
add_Command(MSG_AWAY, TOK_AWAY, m_away, MAXPARA);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -80,6 +81,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_away_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -93,6 +95,7 @@ int m_away_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_away_Header.name);
}
return MOD_SUCCESS;
}
/***********************************************************************
* m_away() - Added 14 Dec 1988 by jto.
+6
View File
@@ -75,6 +75,8 @@ int m_chghost_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_CHGHOST, TOK_CHGHOST, m_chghost, MAXPARA);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
DLLFUNC int Mod_Load(int module_load)
@@ -82,6 +84,8 @@ DLLFUNC int Mod_Load(int module_load)
int m_chghost_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
DLLFUNC int Mod_Unload(int module_unload)
@@ -94,6 +98,8 @@ int m_chghost_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
Mod_Header.name);
}
return MOD_SUCCESS;
}
/*
+3
View File
@@ -82,6 +82,7 @@ int m_chgident_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_CHGIDENT, TOK_CHGIDENT, m_chgident, MAXPARA);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -90,6 +91,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_chgident_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -103,6 +105,7 @@ int m_chgident_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_chgident_Header.name);
}
return MOD_SUCCESS;
}
/*
+6
View File
@@ -79,6 +79,8 @@ int m_chgname_Init(int module_load)
*/
add_Command(MSG_CHGNAME, TOK_CHGNAME, m_chgname, MAXPARA);
add_Command(MSG_SVSNAME, TOK_CHGNAME, m_chgname, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -88,6 +90,8 @@ DLLFUNC int Mod_Load(int module_load)
int m_chgname_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -108,6 +112,8 @@ int m_chgname_Unload(int module_unload)
sendto_realops("Failed to delete command svsname when unloading %s",
m_chgname_Header.name);
}
return MOD_SUCCESS;
}
+5
View File
@@ -79,6 +79,8 @@ int m_guest_Init(int module_load)
#ifdef GUEST
add_Hook(HOOKTYPE_GUEST, m_guest);
#endif
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -88,6 +90,8 @@ DLLFUNC int Mod_Load(int module_load)
int m_guest_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -101,6 +105,7 @@ int m_guest_Unload(int module_unload)
#ifdef GUEST
del_Hook(HOOKTYPE_GUEST, m_guest);
#endif
return MOD_SUCCESS;
}
+3 -1
View File
@@ -100,7 +100,7 @@ int m_htm_Init(int module_load)
e_lcf = EventAdd("lcf", LCF, 0, lcf_check, NULL);
e_htmcalc = EventAdd("htmcalc", 1, 0, htm_calc, NULL);
#endif
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -110,6 +110,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_htm_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -129,6 +130,7 @@ int m_htm_Unload(int module_unload)
EventDel(e_lcf);
EventDel(e_htmcalc);
#endif
return MOD_SUCCESS;
}
/* m_htm recoded by griever
+4
View File
@@ -80,6 +80,7 @@ int m_kill_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_KILL, TOK_KILL, m_kill, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -89,6 +90,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_kill_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -104,6 +106,8 @@ int m_kill_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_kill_Header.name);
}
return MOD_SUCCESS;
}
+5
View File
@@ -80,6 +80,8 @@ int m_kline_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_KLINE, TOK_KLINE, m_kline, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -89,6 +91,8 @@ DLLFUNC int Mod_Load(int module_load)
int m_kline_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -104,6 +108,7 @@ int m_kline_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_kline_Header.name);
}
return MOD_SUCCESS;
}
/*
+5
View File
@@ -78,6 +78,8 @@ int m_lag_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_LAG, TOK_LAG, m_lag, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -87,6 +89,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_lag_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -102,6 +105,8 @@ int m_lag_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_lag_Header.name);
}
return MOD_SUCCESS;
}
/* m_lag (lag measure) - Stskeeps
+5
View File
@@ -86,6 +86,8 @@ int m_message_Init(int module_load)
*/
add_CommandX(MSG_PRIVATE, TOK_PRIVATE, m_private, MAXPARA, M_USER|M_SERVER|M_RESETIDLE);
add_Command(MSG_NOTICE, TOK_NOTICE, m_notice, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -95,6 +97,8 @@ DLLFUNC int Mod_Load(int module_load)
int m_message_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -115,6 +119,7 @@ int m_message_Unload(int module_unload)
sendto_realops("Failed to delete command notice when unloading %s",
m_message_Header.name);
}
return MOD_SUCCESS;
}
+5
View File
@@ -72,6 +72,8 @@ int m_mkpasswd_Init(int module_load)
#endif
{
add_Command(MSG_MKPASSWD, TOK_MKPASSWD, m_mkpasswd, MAXPARA);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -80,6 +82,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_mkpasswd_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -93,6 +96,8 @@ int m_mkpasswd_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_mkpasswd_Header.name);
}
return MOD_SUCCESS;
}
/*
** m_mkpasswd
+7 -1
View File
@@ -78,6 +78,8 @@ int m_nachat_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_NACHAT, TOK_NACHAT, m_nachat, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -86,7 +88,9 @@ DLLFUNC int Mod_Load(int module_load)
#else
int m_nachat_Load(int module_load)
#endif
{
{
return MOD_SUCCESS;
}
@@ -102,6 +106,8 @@ int m_nachat_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_nachat_Header.name);
}
return MOD_SUCCESS;
}
/*
+3
View File
@@ -113,6 +113,7 @@ int m_oper_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_OPER, TOK_OPER, m_oper, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -122,6 +123,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_oper_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -137,6 +139,7 @@ int m_oper_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_oper_Header.name);
}
return MOD_SUCCESS;
}
+4
View File
@@ -87,6 +87,8 @@ int m_pingpong_Init(int module_load)
add_Command(MSG_PING, TOK_PING, m_ping, MAXPARA);
add_CommandX(MSG_PONG, TOK_PONG, m_pong, MAXPARA, M_UNREGISTERED|M_USER|M_SERVER);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -96,6 +98,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_pingpong_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -116,6 +119,7 @@ int m_pingpong_Unload(int module_unload)
sendto_realops("Failed to delete command pong when unloading %s",
m_pingpong_Header.name);
}
return MOD_SUCCESS;
}
+6
View File
@@ -79,6 +79,8 @@ int m_quit_Init(int module_load)
* We call our add_Command crap here
*/
add_CommandX(MSG_QUIT, TOK_QUIT, m_quit, MAXPARA, M_UNREGISTERED|M_USER);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -88,6 +90,8 @@ DLLFUNC int Mod_Load(int module_load)
int m_quit_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -103,6 +107,8 @@ int m_quit_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_quit_Header.name);
}
return MOD_SUCCESS;
}
+6
View File
@@ -79,6 +79,8 @@ int m_rakill_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_RAKILL, TOK_RAKILL, m_rakill, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -88,6 +90,8 @@ DLLFUNC int Mod_Load(int module_load)
int m_rakill_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -103,6 +107,8 @@ int m_rakill_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_rakill_Header.name);
}
return MOD_SUCCESS;
}
+6
View File
@@ -84,6 +84,8 @@ int m_rping_Init(int module_load)
*/
add_Command(MSG_RPING, TOK_RPING, m_rping, MAXPARA);
add_Command(MSG_RPONG, TOK_RPONG, m_rpong, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -93,6 +95,8 @@ DLLFUNC int Mod_Load(int module_load)
int m_rping_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -113,6 +117,8 @@ int m_rping_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_rping_Header.name);
}
return MOD_SUCCESS;
}
/*
+5
View File
@@ -78,6 +78,7 @@ int m_sdesc_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_SDESC, TOK_SDESC, m_sdesc, 1);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -86,6 +87,8 @@ DLLFUNC int Mod_Load(int module_load)
int m_sdesc_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -99,6 +102,8 @@ int m_sdesc_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_sdesc_Header.name);
}
return MOD_SUCCESS;
}
/* m_sdesc - 15/05/1999 - Stskeeps
+4
View File
@@ -83,6 +83,7 @@ int m_sendumode_Init(int module_load)
*/
add_Command(MSG_SENDUMODE, TOK_SENDUMODE, m_sendumode, MAXPARA);
add_Command(MSG_SMO, TOK_SMO, m_sendumode, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -92,6 +93,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_sendumode_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -112,6 +114,8 @@ int m_sendumode_Unload(int module_unload)
sendto_realops("Failed to delete command smo when unloading %s",
m_sendumode_Header.name);
}
return MOD_SUCCESS;
}
+6
View File
@@ -77,6 +77,8 @@ int m_sethost_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_SETHOST, TOK_SETHOST, m_sethost, MAXPARA);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -85,6 +87,8 @@ DLLFUNC int Mod_Load(int module_load)
int m_sethost_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -98,6 +102,8 @@ int m_sethost_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
Mod_Header.name);
}
return MOD_SUCCESS;
}
/*
+6
View File
@@ -76,6 +76,8 @@ int m_setident_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_SETIDENT, TOK_SETIDENT, m_setident, MAXPARA);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -84,6 +86,8 @@ DLLFUNC int Mod_Load(int module_load)
int m_setident_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
DLLFUNC int Mod_Unload(int module_unload)
@@ -96,6 +100,8 @@ int m_setident_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_setident_Header.name);
}
return MOD_SUCCESS;
}
/* m_setident - 12/05/1999 - Stskeeps
+6
View File
@@ -78,6 +78,8 @@ int m_setname_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_SETNAME, TOK_SETNAME, m_setname, 1);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
DLLFUNC int Mod_Load(int module_load)
@@ -85,6 +87,8 @@ DLLFUNC int Mod_Load(int module_load)
int m_setname_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -98,6 +102,8 @@ int m_setname_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_setname_Header.name);
}
return MOD_SUCCESS;
}
/* m_setname - 12/05/1999 - Stskeeps
+6
View File
@@ -79,6 +79,8 @@ int m_sqline_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_SQLINE, TOK_SQLINE, m_sqline, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -88,6 +90,8 @@ DLLFUNC int Mod_Load(int module_load)
int m_sqline_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -103,6 +107,8 @@ int m_sqline_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_sqline_Header.name);
}
return MOD_SUCCESS;
}
/* m_sqline
+3
View File
@@ -76,6 +76,7 @@ int m_svsmode_Init(int module_load)
{
add_Command(MSG_SVSMODE, TOK_SVSMODE, m_svsmode, MAXPARA);
add_Command(MSG_SVS2MODE, TOK_SVS2MODE, m_svs2mode, MAXPARA);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -84,6 +85,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_svsmode_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -97,6 +99,7 @@ int m_svsmode_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_svsmode_Header.name);
}
return MOD_SUCCESS;
}
extern void add_send_mode_param(aChannel *chptr, aClient *from, char what, char mode, char *param);
+4
View File
@@ -72,6 +72,7 @@ int m_svsmotd_Init(int module_load)
#endif
{
add_Command(MSG_SVSMOTD, TOK_SVSMOTD, m_svsmotd, MAXPARA);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -80,6 +81,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_svsmotd_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -93,7 +95,9 @@ int m_svsmotd_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_svsmotd_Header.name);
}
return MOD_SUCCESS;
}
/*
** m_svsmotd
**
+3
View File
@@ -72,6 +72,7 @@ int m_svsnick_Init(int module_load)
#endif
{
add_Command(MSG_SVSNICK, TOK_SVSNICK, m_svsnick, MAXPARA);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -80,6 +81,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_svsnick_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -93,6 +95,7 @@ int m_svsnick_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_svsnick_Header.name);
}
return MOD_SUCCESS;
}
/*
** m_svsnick
+3
View File
@@ -81,6 +81,7 @@ int m_svsnline_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_SVSNLINE, TOK_SVSNLINE, m_svsnline, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -90,6 +91,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_svsnline_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -105,6 +107,7 @@ int m_svsnline_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_svsnline_Header.name);
}
return MOD_SUCCESS;
}
void wipe_svsnlines(void)
+3
View File
@@ -74,6 +74,7 @@ int m_svsnoop_Init(int module_load)
#endif
{
add_Command(MSG_SVSNOOP, TOK_SVSNOOP, m_svsnoop, MAXPARA);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -82,6 +83,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_svsnoop_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -95,6 +97,7 @@ int m_svsnoop_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_svsnoop_Header.name);
}
return MOD_SUCCESS;
}
int m_svsnoop(aClient *cptr, aClient *sptr, int parc, char *parv[])
{
+3
View File
@@ -106,6 +106,7 @@ int m_svso_Init(int module_load)
#endif
{
add_Command(MSG_SVSO, TOK_SVSO, m_svso, MAXPARA);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -114,6 +115,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_svso_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -127,6 +129,7 @@ int m_svso_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_svso_Header.name);
}
return MOD_SUCCESS;
}
/*
** m_svso - Stskeeps
+4 -1
View File
@@ -57,7 +57,7 @@ ModuleHeader m_swhois_Header
ModuleHeader Mod_Header
#endif
= {
"test",
"m_swhois",
"$Id$",
"command /swhois",
"3.2-b5",
@@ -71,6 +71,7 @@ int m_swhois_Init(int module_load)
#endif
{
add_Command(MSG_SWHOIS, TOK_SWHOIS, m_swhois, MAXPARA);
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -79,6 +80,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_swhois_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
@@ -92,6 +94,7 @@ int m_swhois_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_swhois_Header.name);
}
return MOD_SUCCESS;
}
/*
* m_swhois
+3 -1
View File
@@ -78,7 +78,7 @@ int m_tkl_Init(int module_load)
add_Command(MSG_TZLINE, TOK_NONE, m_tzline, 3);
add_Command(MSG_TKLINE, TOK_NONE, m_tkline, 3);
add_Command(MSG_GZLINE, TOK_NONE, m_gzline, 3);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -88,6 +88,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_tkl_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -108,6 +109,7 @@ int m_tkl_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_tkl_Header.name);
}
return MOD_SUCCESS;
}
/*
+3
View File
@@ -79,6 +79,7 @@ int m_tsctl_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_TSCTL, TOK_TSCTL, m_tsctl, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -88,6 +89,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_tsctl_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -103,6 +105,7 @@ int m_tsctl_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_tsctl_Header.name);
}
return MOD_SUCCESS;
}
/*
+3
View File
@@ -79,6 +79,7 @@ int m_unkline_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_UNKLINE, TOK_UNKLINE, m_unkline, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -88,6 +89,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_unkline_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -103,6 +105,7 @@ int m_unkline_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_unkline_Header.name);
}
return MOD_SUCCESS;
}
/*
+3
View File
@@ -79,6 +79,7 @@ int m_unsqline_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_UNSQLINE, TOK_UNSQLINE, m_unsqline, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -88,6 +89,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_unsqline_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -103,6 +105,7 @@ int m_unsqline_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_unsqline_Header.name);
}
return MOD_SUCCESS;
}
/* m_unsqline
+3
View File
@@ -79,6 +79,7 @@ int m_unzline_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_UNZLINE, TOK_UNZLINE, m_unzline, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -88,6 +89,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_unzline_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -103,6 +105,7 @@ int m_unzline_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_unzline_Header.name);
}
return MOD_SUCCESS;
}
+3
View File
@@ -82,6 +82,7 @@ int m_who_Init(int module_load)
* We call our add_Command crap here
*/
add_Command(MSG_WHO, TOK_WHO, m_who, MAXPARA);
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
@@ -91,6 +92,7 @@ DLLFUNC int Mod_Load(int module_load)
int m_who_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
@@ -106,6 +108,7 @@ int m_who_Unload(int module_unload)
sendto_realops("Failed to delete commands when unloading %s",
m_who_Header.name);
}
return MOD_SUCCESS;
}