]> jfr.im git - irc/atheme/atheme.git/commitdiff
chanserv/info: Show PUBACL among channel control flags
authorJanik Kleinhoff <redacted>
Fri, 24 Oct 2014 05:40:21 +0000 (07:40 +0200)
committerWilliam Pitcock <redacted>
Fri, 24 Oct 2014 23:01:00 +0000 (18:01 -0500)
modules/chanserv/info.c

index 9c7ce935e02f98d203228b05a26df4711cfbf8ab..13a9fe29c4a6e5eecbef6abc4af57f4dfdbb406c 100644 (file)
@@ -231,6 +231,14 @@ static void cs_cmd_info(sourceinfo_t *si, int parc, char *parv[])
                strcat(buf, "PRIVATE");
        }
 
+       if (MC_PUBACL & mc->flags)
+       {
+               if (*buf)
+                       strcat(buf, " ");
+
+               strcat(buf, "PUBACL");
+       }
+
        if (use_limitflags && MC_LIMITFLAGS & mc->flags)
        {
                if (*buf)