]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Should be target not rup...
authorChris Porter <redacted>
Wed, 12 Mar 2008 19:03:42 +0000 (19:03 +0000)
committerChris Porter <redacted>
Wed, 12 Mar 2008 19:03:42 +0000 (19:03 +0000)
chanserv/usercmds/userflags.c

index 9ce5a2712c7e3b88de0d69d59e3e6ae486ef3957..9cc7a1cb22e06d86fb5535be4c5b74d5fb04b5d5 100644 (file)
@@ -88,8 +88,8 @@ int csu_douserflags(void *source, int cargc, char **cargv) {
       chanservwallmessage("%s (%s) just used USERFLAGS on %s %s (%s -> %s)",sender->nick,rup->username,target->username,cargv[arg],flagbuf,printflags(target->flags,ruflags));
 
 #ifdef AUTHGATE_WARNINGS
-      if(UHasHelperPriv(rup))
-        chanservsendmessage(sender, "You MUST go to https://auth.quakenet.org and attempt to login as %s (with any password) to update the cache.",rup->username);
+      if(UHasHelperPriv(target))
+        chanservsendmessage(sender, "You MUST go to https://auth.quakenet.org and attempt to login as %s (with any password) to update the cache.",target->username);
 #endif
     }
     csdb_updateuser(target);