]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Fix incorrect error message.
authorGunnar Beutner <redacted>
Sat, 13 Jul 2013 16:15:58 +0000 (18:15 +0200)
committerGunnar Beutner <redacted>
Sat, 13 Jul 2013 16:15:58 +0000 (18:15 +0200)
--HG--
branch : shroudtrusts

glines/glines_commands.c

index ccea6eb96fa4d93d0a37d201029e3008ef64f65d..1f64a39dfdb7dfbd78b90b1952aa57148760ce5d 100644 (file)
@@ -136,7 +136,7 @@ static int glines_cmdgline(void *source, int cargc, char **cargv) {
   if (gl) {
      /* warn opers that they can't modify this gline */
     if (gl->flags & GLINE_ACTIVE) {
-      controlreply(sender, "Active G-Line already exists on %s - unable to modify", cargv[0]);
+      controlreply(sender, "Active G-Line already exists on %s - unable to modify", mask);
       return CMD_ERROR;
     }