1
0
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:
stskeeps
2007-06-14 17:29:36 +00:00
parent 48c9c21708
commit df0e2ac4de
2 changed files with 5 additions and 4 deletions
+2
View File
@@ -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
View File
@@ -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);