Fix topic changes after 6af636dce2e6.

This commit is contained in:
Jilles Tjoelker 2010-12-27 17:31:11 +01:00
parent 0c512421c5
commit 1987b5da5b

View file

@ -125,7 +125,7 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char *
} }
if(((chptr->mode.mode & MODE_TOPICLIMIT) == 0 || if(((chptr->mode.mode & MODE_TOPICLIMIT) == 0 ||
get_channel_access(source_p, msptr) < CHFL_CHANOP) && get_channel_access(source_p, msptr) >= CHFL_CHANOP) &&
(!MyClient(source_p) || (!MyClient(source_p) ||
can_send(chptr, source_p, msptr))) can_send(chptr, source_p, msptr)))
{ {