summaryrefslogtreecommitdiff
path: root/modules/botserv/assign.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-11-25 16:35:10 -0500
committerAdam <Adam@anope.org>2016-11-25 16:35:56 -0500
commita635344582a13d935631fbe930d79d3788359c8a (patch)
treecd7b372d02f94c7f6c18542e06d29deff0f19842 /modules/botserv/assign.cpp
parentf30d99f81f6fb8abd7ca555068173bad6c99e07a (diff)
Rename most ext fields names to be consistent with everything else, add accessors for many
Diffstat (limited to 'modules/botserv/assign.cpp')
-rw-r--r--modules/botserv/assign.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/botserv/assign.cpp b/modules/botserv/assign.cpp
index 95691b6a9..eca103e9f 100644
--- a/modules/botserv/assign.cpp
+++ b/modules/botserv/assign.cpp
@@ -140,7 +140,7 @@ class CommandBSUnassign : public Command
return;
}
- if (ci->HasFieldS("PERSIST") && !ModeManager::FindChannelModeByName("PERM"))
+ if (ci->IsPersist() && !ModeManager::FindChannelModeByName("PERM"))
{
source.Reply(_("You cannot unassign bots while persist is set on the channel."));
return;