mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 04:33:13 +02:00
#0003368 patched by Stealth giving users access to do /module on remote
servers
This commit is contained in:
@@ -1471,3 +1471,5 @@
|
||||
- help.conf updates. Missing some ;'s.
|
||||
- #0003027 reported by Trocotronic, regarding doing -l <para> on SJOIN,
|
||||
and not -l as supposed. This may have caused desyncs
|
||||
- #0003368 patched by Stealth giving users access to do /module on remote
|
||||
servers
|
||||
|
||||
+3
-4
@@ -1030,10 +1030,9 @@ int m_module(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
#endif
|
||||
|
||||
/* Opers can do /module <servername> */
|
||||
if ((parc > 1) && (IsServer(cptr) || IsOper(sptr)) &&
|
||||
(hunt_server_token(cptr, sptr, MSG_MODULE, TOK_MODULE, ":%s", 1, parc, parv) != HUNTED_ISME))
|
||||
return 0;
|
||||
|
||||
if ((parc > 1) && (hunt_server_token(cptr, sptr, MSG_MODULE, TOK_MODULE, ":%s", 1, parc,
|
||||
parv) != HUNTED_ISME))
|
||||
return 0;
|
||||
if (!Modules)
|
||||
{
|
||||
sendto_one(sptr, ":%s NOTICE %s :*** No modules loaded", me.name, sptr->name);
|
||||
|
||||
Reference in New Issue
Block a user