Use SetOpLevel() to set oplevels; give oplevel 1 when op are hacked.
[ircu2.10.12-pk.git] / ircd / m_burst.c
index 6cddc477c2015c66dbe65b68519863039539aa48..50c59b6da1a3c05d42883587c69f9145d35635d1 100644 (file)
@@ -498,7 +498,7 @@ int ms_burst(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
              member->status |= CHFL_BURST_ALREADY_VOICED;
            /* Synchronize with the burst. */
            member->status |= CHFL_BURST_JOINED | (current_mode & (CHFL_CHANOP|CHFL_VOICE));
-           member->oplevel = oplevel;
+           SetOpLevel(member, oplevel);
          }
        }
       }