Searched refs:modelocks (Results 1 – 6 of 6) sorted by relevance
/dports/irc/anope/anope-2.0.9/modules/protocol/ |
H A D | charybdis.cpp | 392 ModeLocks *modelocks = c->ci->GetExt<ModeLocks>("modelocks"); in OnChannelSync() local 393 if (use_server_side_mlock && modelocks && Servers::Capab.count("MLOCK") > 0) in OnChannelSync() 395 …Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-… in OnChannelSync() 402 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnMLock() local 404 …if (use_server_side_mlock && cm && ci->c && modelocks && (cm->type == MODE_REGULAR || cm->type == … in OnMLock() 406 …Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-… in OnMLock() 415 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnUnMLock() local 417 …if (use_server_side_mlock && cm && modelocks && ci->c && (cm->type == MODE_REGULAR || cm->type == … in OnUnMLock() 419 …Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-… in OnUnMLock()
|
H A D | inspircd20.cpp | 915 ModeLocks *modelocks = c->ci->GetExt<ModeLocks>("modelocks"); in Run() local 917 if (modelocks) in Run() 918 modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-", ""); in Run() 1043 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnChanRegistered() local 1044 if (use_server_side_mlock && ci->c && modelocks && !modelocks->GetMLockAsString(false).empty()) in OnChanRegistered() 1046 …Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-… in OnChanRegistered() 1068 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnMLock() local 1070 …if (use_server_side_mlock && cm && ci->c && modelocks && (cm->type == MODE_REGULAR || cm->type == … in OnMLock() 1072 …Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-… in OnMLock() 1081 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnUnMLock() local [all …]
|
H A D | unreal.cpp | 1289 ModeLocks *modelocks = c->ci->GetExt<ModeLocks>("modelocks"); in OnChannelSync() local 1290 if (use_server_side_mlock && Servers::Capab.count("MLOCK") > 0 && modelocks) in OnChannelSync() 1292 …Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-… in OnChannelSync() 1299 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnChanRegistered() local 1300 if (!ci->c || !use_server_side_mlock || !modelocks || !Servers::Capab.count("MLOCK")) in OnChanRegistered() 1302 …Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-… in OnChanRegistered() 1315 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnMLock() local 1317 …if (use_server_side_mlock && cm && modelocks && ci->c && (cm->type == MODE_REGULAR || cm->type == … in OnMLock() 1319 …Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-… in OnMLock() 1328 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnUnMLock() local [all …]
|
H A D | unreal4.cpp | 1447 ModeLocks *modelocks = c->ci->GetExt<ModeLocks>("modelocks"); in OnChannelSync() local 1448 if (use_server_side_mlock && Servers::Capab.count("MLOCK") > 0 && modelocks) in OnChannelSync() 1450 …Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-… in OnChannelSync() 1457 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnChanRegistered() local 1458 if (!ci->c || !use_server_side_mlock || !modelocks || !Servers::Capab.count("MLOCK")) in OnChanRegistered() 1460 …Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-… in OnChanRegistered() 1473 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnMLock() local 1475 …if (use_server_side_mlock && cm && modelocks && ci->c && (cm->type == MODE_REGULAR || cm->type == … in OnMLock() 1477 …Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-… in OnMLock() 1486 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnUnMLock() local [all …]
|
H A D | inspircd3.cpp | 1334 ModeLocks *modelocks = c->ci->GetExt<ModeLocks>("modelocks"); in Run() local 1336 if (modelocks) in Run() 1337 modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-", ""); in Run() 1883 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnChanRegistered() local 1884 if (use_server_side_mlock && ci->c && modelocks && !modelocks->GetMLockAsString(false).empty()) in OnChanRegistered() 1886 …Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-… in OnChanRegistered() 1908 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnMLock() local 1910 …if (use_server_side_mlock && cm && ci->c && modelocks && (cm->type == MODE_REGULAR || cm->type == … in OnMLock() 1912 …Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-… in OnMLock() 1921 ModeLocks *modelocks = ci->GetExt<ModeLocks>("modelocks"); in OnUnMLock() local [all …]
|
/dports/irc/anope/anope-2.0.9/modules/commands/ |
H A D | cs_mode.cpp | 270 ModeLocks *modelocks = ci->Require<ModeLocks>("modelocks"); in DoLock() local 283 const ModeLocks::ModeList mlocks = modelocks->GetMLock(); in DoLock() 289 modelocks->RemoveMLock(cm, ml->set, ml->param); in DoLock() 351 modelocks->SetMLock(cm, adding, mode_param, source.GetNick()); in DoLock() 423 if (modelocks->RemoveMLock(cm, adding, mode_param)) in DoLock() 441 const ModeLocks::ModeList mlocks = modelocks->GetMLock(); in DoLock() 923 ExtensibleItem<ModeLocksImpl> modelocks; member in CSMode 929 modelocks(this, "modelocks"), in CSMode() 964 ModeLocks *locks = modelocks.Get(c->ci); in OnCheckModes() 1010 ModeLocks *ml = modelocks.Require(ci); in OnChanRegistered() [all …]
|