X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=include%2Fchannels.h;h=0a131ddb35eca048542de758537c2a835819bbdb;hb=804d58e2001f04786d2594f046d591b664235642;hp=0cf477f2207e496d1052ceb11b0af9b7e17214db;hpb=0b63ccd0b5cb26883d6becb196fb98e4f95d0397;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/channels.h b/include/channels.h index 0cf477f22..0a131ddb3 100644 --- a/include/channels.h +++ b/include/channels.h @@ -332,6 +332,11 @@ class CoreExport Channel : public Extensible /** Get the status of an "action" type extban */ ModResult GetExtBanStatus(User *u, char type); + + /** Write a NOTICE to all local users on the channel + * @param text Text to send + */ + void WriteNotice(const std::string& text); }; inline bool Channel::HasUser(User* user)