Don't allow opers to bypass can_create_channel check.

Modules need to do so themselves, if desired.
This commit is contained in:
Jilles Tjoelker 2007-12-18 00:17:25 +01:00
parent b47db00e58
commit 544cde9033
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ m_join(struct Client *client_p, struct Client *source_p, int parc, const char *p
call_hook(h_can_create_channel, &moduledata);
if(moduledata.approved != 0 && !IsOper(source_p))
if(moduledata.approved != 0)
{
sendto_one(source_p, form_str(moduledata.approved),
me.name, source_p->name, name);