]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Wrong way round in match.
authorChris Porter <redacted>
Mon, 13 Oct 2008 05:08:21 +0000 (06:08 +0100)
committerChris Porter <redacted>
Mon, 13 Oct 2008 05:08:21 +0000 (06:08 +0100)
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);