Commits

Anonymous committed 37246d4

Make channel::admin_on_channel_create only work if admin is enabled.

Comments (0)

Files changed (1)

 				continue;
 			}
 
-			if(ConfigChannel.admin_on_channel_create)
+			if(ConfigChannel.admin_on_channel_create && ConfigChannel.use_admin)
 				flags = CHFL_ADMIN | CHFL_CHANOP;
 			else
 				flags = CHFL_CHANOP;