]> 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 a4340be950b23614a93563ca5779c82cae6d3003..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"
@@ -257,8 +255,12 @@ me_svslogin(struct Client *client_p, struct Client *source_p,
        }
        else
        {
-               send_signon(NULL, target_p, nick, user, host, CurrentTime, login);
-               comm_note(target_p->localClient->fd, "Nick: %s", target_p->name);
+               char note[NICKLEN + 10];
+
+               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);
        }
 
        return 0;