]> jfr.im git - irc/atheme/atheme.git/commitdiff
chanserv/sync: Skip sync on external services clients (closes #363)
authorAlex Iadicicco <redacted>
Thu, 7 Aug 2014 05:36:08 +0000 (22:36 -0700)
committerAlex Iadicicco <redacted>
Thu, 7 Aug 2014 05:36:08 +0000 (22:36 -0700)
modules/chanserv/sync.c

index 213654729be4f603dffd6a92c6ccdb1334f10e97..a9126d88c8ced3026eed043c2034365ec9d8b7ba 100644 (file)
@@ -28,7 +28,7 @@ static void do_chanuser_sync(mychan_t *mc, chanuser_t *cu, chanacs_t *ca,
        int fl;
        bool noop;
 
-       if (is_internal_client(cu->user))
+       if (is_internal_client(cu->user) || is_service(cu->user))
                return;
 
        if (ca != NULL && ca->entity != NULL && cu->user->myuser != NULL)