Fix a warning which may fix a real ugly desync.

If this doesn't fix the desync, i have an idea of how to do so.
This commit is contained in:
JD Horelick 2010-03-04 04:22:14 -05:00
parent a5445b5bb5
commit e853274c16
1 changed files with 2 additions and 0 deletions

View File

@ -2066,6 +2066,8 @@ set_channel_mode(struct Client *client_p, struct Client *source_p,
source_p->name, source_p->username,
source_p->host, chptr->chname);
mlen = 0;
for (override = 0; override < (IsOverride(source_p) && alevel != CHFL_CHANOP ? 2 : 1); ++override)
{
int was_on_chan = 0;