]> jfr.im git - solanum.git/blobdiff - modules/m_user.c
Remove s_assert definition from ircd_defs.h and add it to its own header.
[solanum.git] / modules / m_user.c
index 2f792a7b7f1f30ced69427a2b7ec195e5b7ae268..f258007d8f64c8490984aeacc6855065c767ec66 100644 (file)
@@ -36,6 +36,7 @@
 #include "parse.h"
 #include "modules.h"
 #include "blacklist.h"
+#include "s_assert.h"
 
 static int mr_user(struct Client *, struct Client *, int, const char **);
 
@@ -83,12 +84,10 @@ static int
 do_local_user(struct Client *client_p, struct Client *source_p,
              const char *username, const char *realname)
 {
-       struct User *user;
-
        s_assert(NULL != source_p);
        s_assert(source_p->username != username);
 
-       user = make_user(source_p);
+       make_user(source_p);
 
        if (!(source_p->flags & FLAGS_SENTUSER))
        {