mirror of
https://github.com/anope/anope.git
synced 2026-06-26 07:56:39 +02:00
Fix cs_mode lock reply if nothing is done
Fix not clearing forbids when os_forbid is unloaded Apply nick and chan forbids when added Fix loading forbids until after the service is constructed
This commit is contained in:
+5
-1
@@ -266,7 +266,11 @@ Serializable* ChannelInfo::Unserialize(Serializable *obj, Serialize::Data &data)
|
||||
std::vector<Anope::string> v;
|
||||
spacesepstream(slevels).GetTokens(v);
|
||||
for (unsigned i = 0; i + 1 < v.size(); i += 2)
|
||||
ci->levels[v[i]] = convertTo<int16_t>(v[i + 1]);
|
||||
try
|
||||
{
|
||||
ci->levels[v[i]] = convertTo<int16_t>(v[i + 1]);
|
||||
}
|
||||
catch (const ConvertException &) { }
|
||||
}
|
||||
BotInfo *bi = BotInfo::Find(sbi);
|
||||
if (*ci->bi != bi)
|
||||
|
||||
Reference in New Issue
Block a user