mirror of
https://github.com/anope/anope.git
synced 2026-07-03 23:23:13 +02:00
Removed some assertions, replaced with throwing CoreExceptions
This commit is contained in:
@@ -88,7 +88,8 @@ class CommandNSSASetKill : public Command
|
||||
CommandReturn Execute(User *u, const std::vector<Anope::string> ¶ms)
|
||||
{
|
||||
NickCore *nc = findcore(params[0]);
|
||||
assert(nc);
|
||||
if (!nc)
|
||||
throw CoreException("NULL nc in CommandNSSASetKill");
|
||||
|
||||
Anope::string param = params[1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user