mirror of
https://github.com/anope/anope.git
synced 2026-07-04 12:53:14 +02:00
Use MessageSource as the source for many IRCDProto funcs
Keep track of what user modes are oper only/server only/etc
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ void Mail::Message::Run()
|
||||
SetExitState();
|
||||
}
|
||||
|
||||
bool Mail::Send(User *u, NickCore *nc, const BotInfo *service, const Anope::string &subject, const Anope::string &message)
|
||||
bool Mail::Send(User *u, NickCore *nc, BotInfo *service, const Anope::string &subject, const Anope::string &message)
|
||||
{
|
||||
if (!nc || !service || subject.empty() || message.empty())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user