+static bool
+Can_Send_To_Channel_Identified(CHANNEL *Chan, CLIENT *From)
+{
+ if ((Client_ThisServer() == From) || Client_HasMode(From, 'o'))
+ return true;
+
+ if (strchr(Channel_Modes(Chan), 'M') && !Client_HasMode(From, 'R'))
+ return false;
+
+ if (Lists_Check(&Chan->list_excepts, From))
+ return true;
+
+ return !Lists_Check(&Chan->list_bans, From);
+}
+
+