]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blobdiff - umoderqerrorreplynickatserver.patch
Refresh patch
[irc/quakenet/snircd-patchqueue.git] / umoderqerrorreplynickatserver.patch
index a907564b8bf120e3d4ee84b91a938a10faaa95da..4f037f0c16a54bd1f297f1d724a718710f483d6d 100644 (file)
@@ -1,16 +1,16 @@
 throw error when user attempts to msg nick@server but is stopped by usermode +R or +q
 
-diff -r 8e6a04a8cd81 ircd/ircd_relay.c
---- a/ircd/ircd_relay.c        Wed Mar 24 12:59:31 2010 +0100
-+++ b/ircd/ircd_relay.c        Wed Mar 24 13:07:16 2010 +0100
+diff -r be4495caa99e ircd/ircd_relay.c
+--- a/ircd/ircd_relay.c        Sat Jul 20 11:50:47 2013 +0100
++++ b/ircd/ircd_relay.c        Sat Jul 20 11:58:58 2013 +0100
 @@ -307,12 +307,16 @@
      *--host = '%';
  
    /* slug: I don't think this is required, but I might have missed something */
 -  if (IsAccountOnly(acptr) && !IsAccount(sptr) && !IsXtraOp(sptr))
 +  if (IsAccountOnly(acptr) && !IsAccount(sptr) && !IsXtraOp(sptr)) {
-+    send_reply(sptr, ERR_ACCOUNTONLY, cli_name(acptr), feature_str(FEAT_URLREG));
-     return;
++     send_reply(sptr, ERR_ACCOUNTONLY, cli_name(acptr), feature_str(FEAT_URLREG));
+      return;
 +  }
  
    /* slug: same applies here, since only opers can be +k */