- /* Only opers can receive snotices, so we iterate the oper list */
- for (std::list<User*>::iterator i = ServerInstance->Users->all_opers.begin(); i != ServerInstance->Users->all_opers.end(); i++)
+
+ int MOD_RESULT = 0;
+ char mysnomask = MySnomask;
+ std::string desc = this->Description;
+
+ FOREACH_RESULT(I_OnSendSnotice, OnSendSnotice(mysnomask, desc, this->LastMessage));
+
+ if (MOD_RESULT != 1) // 1 blocks the message