X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/9aacd5449a405074db29f80a3b755acc40142e88..0914614786d5c7654ef65dd76b8313b80fc6f77e:/noperserv/noperserv.c diff --git a/noperserv/noperserv.c b/noperserv/noperserv.c index f54a9035..e2d56a7e 100644 --- a/noperserv/noperserv.c +++ b/noperserv/noperserv.c @@ -9,6 +9,7 @@ #include "../localuser/localuser.h" #include "../lib/irc_string.h" #include "../lib/strlfunc.h" +#include "../lib/version.h" #include "noperserv.h" #include "noperserv_db.h" #include "noperserv_hooks.h" @@ -18,6 +19,8 @@ #include #include +MODULE_VERSION("$Id: noperserv.c 786 2007-05-13 20:22:35Z newserv $") + #define FLAGBUFLEN 100 #define NO_FOUND_NICKNAME 1 @@ -147,7 +150,7 @@ void _fini() { /* @test */ int noperserv_hello(void *sender, int cargc, char **cargv) { - char *newaccount; + char *newaccount = NULL; no_autheduser *au; int i; nick *np = (nick *)sender, *np2, *target = NULL;