1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 08:43:13 +02:00

cleanup m_module

This commit is contained in:
Bram Matthys
2015-07-12 16:02:06 +02:00
parent 95b13123a3
commit ec61a75cf6
-6
View File
@@ -958,14 +958,8 @@ int m_module(aClient *cptr, aClient *sptr, int parc, char *parv[])
Efunction *e;
#endif
/* Opers can do /module <servername> */
if ((parc > 1) && (hunt_server(cptr, sptr, ":%s MODULES :%s", 1, parc, parv) != HUNTED_ISME))
return 0;
if (!Modules)
{
sendto_one(sptr, ":%s NOTICE %s :*** No modules loaded", me.name, sptr->name);
return 1;
}
for (mi = Modules; mi; mi = mi->next)
{