void Error(int status);
void ShowMOTD(userrec *user);
void ShowRULES(userrec *user);
-bool AllModulesReportReady(userrec* user);
bool IsValidChannelName(const char *);
#endif
void DoSocketTimeouts(time_t TIME);
void DoBackgroundUserStuff(time_t TIME);
+ bool AllModulesReportReady(userrec* user);
+
public:
time_t startup_time;
ModeParser* ModeGrok;
user->WriteServ("NOTICE %s :End of %s rules.",user->nick,ServerInstance->Config->ServerName);
}
-// this returns 1 when all modules are satisfied that the user should be allowed onto the irc server
-// (until this returns true, a user will block in the waiting state, waiting to connect up to the
-// registration timeout maximum seconds)
-bool AllModulesReportReady(userrec* user)
-{
- if (!ServerInstance->Config->global_implementation[I_OnCheckReady])
- return true;
-
- for (int i = 0; i <= MODCOUNT; i++)
- {
- if (ServerInstance->Config->implement_lists[i][I_OnCheckReady])
- {
- int res = modules[i]->OnCheckReady(user);
- if (!res)
- return false;
- }
- }
-
- return true;
-}
-
bool IsValidChannelName(const char *chname)
{
char *c;
}
return 0;
}
+
+/* this returns true when all modules are satisfied that the user should be allowed onto the irc server
+ * (until this returns true, a user will block in the waiting state, waiting to connect up to the
+ * registration timeout maximum seconds)
+ */
+bool InspIRCd::AllModulesReportReady(userrec* user)
+{
+ if (!Config->global_implementation[I_OnCheckReady])
+ return true;
+
+ for (int i = 0; i <= MODCOUNT; i++)
+ {
+ if (Config->implement_lists[i][I_OnCheckReady])
+ {
+ int res = modules[i]->OnCheckReady(user);
+ if (!res)
+ return false;
+ }
+ }
+ return true;
+}
+
+