From: Chris Porter Date: Wed, 12 Mar 2008 19:03:42 +0000 (+0000) Subject: Should be target not rup... X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/commitdiff_plain/da6fc007efb1c9597a8b770f2d0d0c270e2ed205 Should be target not rup... --- diff --git a/chanserv/usercmds/userflags.c b/chanserv/usercmds/userflags.c index 9ce5a271..9cc7a1cb 100644 --- a/chanserv/usercmds/userflags.c +++ b/chanserv/usercmds/userflags.c @@ -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);