#include "modules.h"
#include "dynamic.h"
#include "wildcard.h"
+#include "commands.h"
#include "message.h"
#include "inspstring.h"
#include "dns.h"
FOREACH_RESULT(OnChangeLocalUserGECOS(user,gecos));
if (MOD_RESULT)
return;
+ FOREACH_MOD OnChangeName(user,gecos);
}
strlcpy(user->fullname,gecos,MAXBUF);
}
FOREACH_RESULT(OnChangeLocalUserHost(user,host));
if (MOD_RESULT)
return;
+ FOREACH_MOD OnChangeHost(user,host);
}
strlcpy(user->dhost,host,160);
}
log(DEFAULT,"*** BUG *** cmode was given an invalid parameter");
return "";
}
+
for (int i = 0; i != MAXCHANS; i++)
{
if (user->chans[i].channel)
return 0;
}
+ if (is_uline(user->server))
+ return STATUS_OP;
+
for (int i = 0; i != MAXCHANS; i++)
{
if (user->chans[i].channel)