mirror of
https://github.com/anope/anope.git
synced 2026-07-04 22:33:12 +02:00
Add some checks in ms_* to make sure memoserv really exists
This commit is contained in:
@@ -25,6 +25,9 @@ class CommandMSSend : public Command
|
||||
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
{
|
||||
if (!memoserv)
|
||||
return;
|
||||
|
||||
const Anope::string &nick = params[0];
|
||||
const Anope::string &text = params[1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user