]> jfr.im git - irc/quakenet/newserv.git/blobdiff - trusts/trusts_policy.c
fix indentation
[irc/quakenet/newserv.git] / trusts / trusts_policy.c
index 607fa97fd3bb46c93cb664da8bb0a8e53033e146..737101a657cc43b3f7e15b30b0970c44ad971c09 100644 (file)
@@ -5,10 +5,15 @@
 static int countext;
 
 static void policycheck(int hooknum, void *arg) {
-  nick *np = arg;
+  void **args = arg;
+  nick *np = args[0];
+  long moving = (long)args[1];
   trusthost *th = gettrusthost(np);
   trustgroup *tg = th->group;
 
+  if(moving)
+    return;
+
   /*
    * the purpose of this logic is to avoid spam like this:
    * WARNING: tgX exceeded limit: 11 connected vs 10 max