diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-28 00:28:59 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-28 00:28:59 -0400 |
commit | aa9610a56ff18edd0703a3f391c90e1f8a761476 (patch) | |
tree | 5fceef5b811ffcb28bcea093b59604b94a2a89c1 /modules/core/ns_set_kill.cpp | |
parent | 4700c9626861b193798b3cf3d53fb89a913c5819 (diff) | |
parent | a2573a2c3067343ebf46292691671ba4bad855a8 (diff) |
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
Diffstat (limited to 'modules/core/ns_set_kill.cpp')
-rw-r--r-- | modules/core/ns_set_kill.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/core/ns_set_kill.cpp b/modules/core/ns_set_kill.cpp index f7312710f..cad473543 100644 --- a/modules/core/ns_set_kill.cpp +++ b/modules/core/ns_set_kill.cpp @@ -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]; |