]> jfr.im git - irc/quakenet/newserv.git/blobdiff - noperserv/noperserv.c
r439@blue (orig r429): slug | 2006-02-23 13:39:37 +0000
[irc/quakenet/newserv.git] / noperserv / noperserv.c
index 5f798959719109c6f4a4d5ff9e61ec991db980a0..e2d56a7ea5d90e65fb283051d391006c8a8b6717 100644 (file)
@@ -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 <string.h>
 #include <stdarg.h>
 
+MODULE_VERSION("$Id: noperserv.c 786 2007-05-13 20:22:35Z newserv $")
+
 #define FLAGBUFLEN 100
 
 #define NO_FOUND_NICKNAME 1
@@ -113,7 +116,7 @@ void _init() {
     "  +b: BROADCAST commands\n"
     "  +o: Operation commands, such as insmod, rmmod, die, etc\n"
     "  +O: /OPER\n"
-    "  +I: Misc commands (resync)\n"
+    "  +I: Misc commands (resync, etc)\n"
     "  +n: Sends notices instead of privmsgs\n"
     "  +A: Every single command sent to the service (spammy)\n"
   );
@@ -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;