]> jfr.im git - irc/quakenet/newserv.git/blobdiff - noperserv/noperserv.c
whowas: Fix reason newsearch operator.
[irc/quakenet/newserv.git] / noperserv / noperserv.c
index 015dda5774d0200f9c4ea8971d45e4471ddf4060..ae5c3c1062c03079923834e8bbc9753df684e3ca 100644 (file)
@@ -59,6 +59,7 @@ const flag no_noticeflags[] = {
     { 'k', NL_KICKKILLS },    /* KICK/KILL commands */
     { 'I', NL_MISC },         /* misc commands */
     { 'g', NL_GLINES },       /* GLINE commands */
+    { 'G', NL_GLINES_AUTO },  /* automated gline messages */
     { 'h', NL_HITS },         /* Where a gline or kill is set automatically by the bot */
     { 'c', NL_CLONING },      /* Clone detection */
     { 'C', NL_CLEARCHAN },    /* When someone clearchans */
@@ -115,6 +116,7 @@ void _init() {
     "  +t: Trusts\n"
     "  +k: KICK/KILL commands\n"
     "  +g: GLINE commands\n"
+    "  +G: automated gline messages\n"
     "  +h: Shows when glines are set by code (hits)\n"
     "  +c: Clone information\n"
     "  +C: CLEARCHAN command\n"
@@ -173,7 +175,6 @@ int noperserv_hello(void *sender, int cargc, char **cargv) {
         return CMD_ERROR;
       }
       newaccount = a->name;
-      target = a->nicks;
     } else {
       target = getnickbynick(cargv[0]);
       if(!target) {