]> jfr.im git - irc/quakenet/newserv.git/blobdiff - trusts/trusts_commands.c
Wrong way round in match.
[irc/quakenet/newserv.git] / trusts / trusts_commands.c
index a01605d2d75a8b668cccb9757936889725652eed..021973b26f7162884ff49d71fbd190420e169796 100644 (file)
@@ -159,7 +159,7 @@ static int trusts_cmdtrustlist(void *source, int cargc, char **cargv) {
   }
 
   for(tg=tglist;tg;tg=tg->next) {
-    if(match(tg->name->content, name))
+    if(match(name, tg->name->content))
       continue;
 
     displaygroup(sender, tg);