summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-05-17 15:05:13 +0100
committerSadie Powell <sadie@witchery.services>2025-05-17 19:35:03 +0100
commitd3bb930a5e70dbaacfc42128472b84066f42f5db (patch)
tree35ace4c5e57b77211d13e6be7a3ce4565be7f7c1 /src/regchannel.cpp
parent0fc1eb313369a0b50c6a7f246966bec72a63ed69 (diff)
Fix some inconsistencies with account lookups.
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 73fb82d7f..dd45bc48e 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -78,7 +78,7 @@ Serializable *AutoKick::Type::Unserialize(Serializable *obj, Serialize::Data &da
ak = anope_dynamic_static_cast<AutoKick *>(obj);
data["creator"] >> ak->creator;
data["reason"] >> ak->reason;
- ak->nc = NickCore::Find(snc);
+ ak->nc = nc;
data["mask"] >> ak->mask;
data["addtime"] >> ak->addtime;
data["last_used"] >> ak->last_used;