]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Clarify authcache messages and bump up to only warning opers (since helpers aren...
authorChris Porter <redacted>
Thu, 13 Mar 2008 19:28:39 +0000 (19:28 +0000)
committerChris Porter <redacted>
Thu, 13 Mar 2008 19:28:39 +0000 (19:28 +0000)
chanserv/authcmds/email.c
chanserv/authcmds/newpass.c
chanserv/usercmds/userflags.c

index 3657eb8086a431a73f6d6b04b7e4c495df08d104..eecf51554682b8870623af3d50898bc8ba012281 100644 (file)
@@ -139,8 +139,8 @@ int csa_doemail(void *source, int cargc, char **cargv) {
   cs_log(sender,"EMAIL OK username %s",rup->username);
 
 #ifdef AUTHGATE_WARNINGS
-  if(UHasHelperPriv(rup))
-    chanservsendmessage(sender, "You MUST go to https://auth.quakenet.org and login successfully to update the cache.");
+  if(UHasOperPriv(rup))
+    chanservsendmessage(sender, "WARNING FOR PRIVILEGED USERS: you MUST go to https://auth.quakenet.org and login successfully to update the cache.");
 #endif
 
   csdb_updateuser(rup);
index 4075fcf1fcd22179a5f4da823baddb31e8a8ff6e..5d3e6c4af937dd2879d9e4d545b3842ef3876c60 100644 (file)
@@ -94,8 +94,8 @@ int csa_donewpw(void *source, int cargc, char **cargv) {
   cs_log(sender,"NEWPASS OK username %s", rup->username);
 
 #ifdef AUTHGATE_WARNINGS
-  if(UHasHelperPriv(rup))
-    chanservsendmessage(sender, "You MUST go to https://auth.quakenet.org and login successfully to update the cache.");
+  if(UHasOperPriv(rup))
+    chanservsendmessage(sender, "WARNING FOR PRIVILEGED USERS: you MUST go to https://auth.quakenet.org and login successfully to update the cache, if you do not your old password will still be usable in certain circumstances.");
 #endif
 
   csdb_updateuser(rup);
index 503dbe1aff7c82c87127c14b4c591f971785f2e7..033549f7256837cb621c2f43157679d3b1a99213 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(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);
+    if(UHasOperPriv(target))
+      chanservsendmessage(sender, "WARNING FOR PRIVILEGED USERS: you MUST go to https://auth.quakenet.org and attempt to login as %s (with any password) to update the cache, otherwise their old credentials will be preserved in certain circumstances.",target->username);
 #endif
     }
     csdb_updateuser(target);