]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_signon.c
Prevent cork usage as charybdis doesn't have its support
[irc/rqf/shadowircd.git] / modules / m_signon.c
index 378fd07471863839256c2a0daa3d2cfd737715cb..5e56f240a1194f3efd6da66a3b1214b989bbee9d 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "stdinc.h"
 
-#include "tools.h"
 #include "send.h"
 #include "channel.h"
 #include "client.h"
@@ -39,7 +38,6 @@
 #include "config.h"
 #include "ircd.h"
 #include "numeric.h"
-#include "memory.h"
 #include "s_conf.h"
 #include "s_serv.h"
 #include "hash.h"
@@ -259,7 +257,7 @@ me_svslogin(struct Client *client_p, struct Client *source_p,
        {
                char note[NICKLEN + 10];
 
-               send_signon(NULL, target_p, nick, user, host, CurrentTime, login);
+               send_signon(NULL, target_p, nick, user, host, rb_current_time(), login);
 
                rb_snprintf(note, NICKLEN + 10, "Nick: %s", target_p->name);
                rb_note(target_p->localClient->F, note);