diff options
author | Adam <Adam@anope.org> | 2016-10-15 16:25:57 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-10-15 16:25:57 -0400 |
commit | 1ba242179fee46583098f48421af39ce9a8985a1 (patch) | |
tree | a276cd7bd53e7270c86ab3744bd6a568a016501b /modules/botserv/set.cpp | |
parent | 696239e93391f3dfd6459857fb02a6006048093a (diff) |
Various improvements/bugfixes to extdb stuff
Diffstat (limited to 'modules/botserv/set.cpp')
-rw-r--r-- | modules/botserv/set.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/botserv/set.cpp b/modules/botserv/set.cpp index 47c5337d2..bb432e3f0 100644 --- a/modules/botserv/set.cpp +++ b/modules/botserv/set.cpp @@ -174,7 +174,7 @@ class CommandBSSetPrivate : public Command source.Reply(_("Services are in read-only mode. Any changes made may not persist.")); ServiceBot *bi = ServiceBot::Find(nick, true); - if (bi == NULL) + if (bi == NULL || !bi->bi) { source.Reply(_("Bot \002{0}\002 does not exist."), nick); return; |