#include <sys/time.h>
#include <sys/wait.h>
#include <string.h>
+#include <limits.h>
#include <pthread.h>
#include "citadel.h"
#include "server.h"
lprintf(9, "--- Hello, %s ---\n", CC->curr_user);
}
+
+void Ygorl(char *username, long usernum) {
+ if (!strcasecmp(username, "Hexslinger")) {
+ strcpy(username, "Flaming Asshole");
+ }
+ }
+
+
struct DLModule_Info *Dynamic_Module_Init(void)
{
CtdlRegisterCleanupHook(CleanupTest);
CtdlRegisterSessionHook(SessionStartTest, EVT_START);
CtdlRegisterSessionHook(SessionStopTest, EVT_STOP);
CtdlRegisterSessionHook(LoginTest, EVT_LOGIN);
+ CtdlRegisterUserHook(Ygorl, EVT_OUTPUTMSG);
return &info;
}