]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_test.c
* Eliminate EVT_OUTPUTMSG server extensions (don't need them anymore)
[citadel.git] / citadel / serv_test.c
index 3e05b906594df4057ae6ac6cfe9766c919b0f81a..afee1effa00bd1f08e60da3c362cf2a674545539 100644 (file)
@@ -65,13 +65,6 @@ void LoginTest(void) {
        lprintf(CTDL_DEBUG, "--- Hello, %s ---\n", CC->curr_user);
        }
 
-
-void Ygorl(char *username, long usernum) {
-       if (!strcasecmp(username, "Unsuspecting User")) {
-               strcpy(username, "Flaming Asshole");
-               }
-       }
-
 void LogTest(char *buf) {
        fprintf(stderr,"%c[1m%s%c[0m", 27, buf, 27);
        fflush(stderr);
@@ -85,7 +78,6 @@ char *serv_test_init(void)
    CtdlRegisterSessionHook(SessionStartTest, EVT_START);
    CtdlRegisterSessionHook(SessionStopTest, EVT_STOP);
    CtdlRegisterSessionHook(LoginTest, EVT_LOGIN);
-   CtdlRegisterUserHook(Ygorl, EVT_OUTPUTMSG);
    CtdlRegisterLogHook(LogTest, 1);
    return "$Id$";
 }