/dports/irc/anope/anope-2.0.9/modules/commands/ |
H A D | cs_set.cpp | 93 EventReturn MOD_RESULT; in Execute() local 156 EventReturn MOD_RESULT; in Execute() local 224 EventReturn MOD_RESULT; in Execute() local 285 EventReturn MOD_RESULT; in Execute() local 354 EventReturn MOD_RESULT; in Execute() local 419 EventReturn MOD_RESULT; in Execute() local 491 EventReturn MOD_RESULT; in Execute() local 640 EventReturn MOD_RESULT; in Execute() local 702 EventReturn MOD_RESULT; in Execute() local 765 EventReturn MOD_RESULT; in Execute() local [all …]
|
H A D | cs_topic.cpp | 39 EventReturn MOD_RESULT; in Execute() local 40 FOREACH_RESULT(OnSetChannelOption, MOD_RESULT, (source, this, ci, params[1])); in Execute() 41 if (MOD_RESULT == EVENT_STOP) in Execute() 44 …if (MOD_RESULT != EVENT_ALLOW && !source.AccessFor(ci).HasPriv("SET") && source.permission.empty()… in Execute() 91 EventReturn MOD_RESULT; in Lock() local 92 FOREACH_RESULT(OnSetChannelOption, MOD_RESULT, (source, this, ci, "topiclock on")); in Lock() 93 if (MOD_RESULT == EVENT_STOP) in Lock() 108 EventReturn MOD_RESULT; in Unlock() local 109 FOREACH_RESULT(OnSetChannelOption, MOD_RESULT, (source, this, ci, "topiclock off")); in Unlock() 110 if (MOD_RESULT == EVENT_STOP) in Unlock()
|
H A D | ns_set.cpp | 257 EventReturn MOD_RESULT; in Run() local 259 if (MOD_RESULT == EVENT_STOP) in Run() 359 EventReturn MOD_RESULT; in Run() local 361 if (MOD_RESULT == EVENT_STOP) in Run() 494 EventReturn MOD_RESULT; in Run() local 496 if (MOD_RESULT == EVENT_STOP) in Run() 588 EventReturn MOD_RESULT; in Run() local 681 EventReturn MOD_RESULT; in Run() local 813 EventReturn MOD_RESULT; in Run() local 931 EventReturn MOD_RESULT; in Run() local [all …]
|
H A D | cs_drop.cpp | 52 EventReturn MOD_RESULT; in Execute() local 53 FOREACH_RESULT(OnChanDrop, MOD_RESULT, (source, ci)); in Execute() 54 if (MOD_RESULT == EVENT_STOP) in Execute()
|
H A D | cs_set_misc.cpp | 115 EventReturn MOD_RESULT; in Execute() local 116 FOREACH_RESULT(OnSetChannelOption, MOD_RESULT, (source, this, ci, param)); in Execute() 117 if (MOD_RESULT == EVENT_STOP) in Execute() 120 …if (MOD_RESULT != EVENT_ALLOW && !source.AccessFor(ci).HasPriv("SET") && source.permission.empty()… in Execute()
|
H A D | cs_list.cpp | 199 EventReturn MOD_RESULT; in Execute() local 200 FOREACH_RESULT(OnSetChannelOption, MOD_RESULT, (source, this, ci, params[1])); in Execute() 201 if (MOD_RESULT == EVENT_STOP) in Execute() 204 …if (MOD_RESULT != EVENT_ALLOW && !source.AccessFor(ci).HasPriv("SET") && source.permission.empty()… in Execute()
|
/dports/irc/inspircd/inspircd-3.11.0/src/coremods/core_user/ |
H A D | cmd_away.cpp | 50 ModResult MOD_RESULT; in Handle() local 57 …FIRST_MOD_RESULT_CUSTOM(awayevprov, Away::EventListener, OnUserPreAway, MOD_RESULT, (luser, messag… in Handle() 58 if (MOD_RESULT == MOD_RES_DENY) in Handle() 71 FIRST_MOD_RESULT_CUSTOM(awayevprov, Away::EventListener, OnUserPreBack, MOD_RESULT, (luser)); in Handle() 72 if (MOD_RESULT == MOD_RES_DENY) in Handle()
|
H A D | cmd_user.cpp | 79 ModResult MOD_RESULT; in CheckRegister() local 80 FIRST_MOD_RESULT(OnUserRegister, MOD_RESULT, (user)); in CheckRegister() 81 if (MOD_RESULT == MOD_RES_DENY) in CheckRegister()
|
H A D | cmd_nick.cpp | 68 ModResult MOD_RESULT; in HandleLocal() local 69 FIRST_MOD_RESULT(OnUserPreNick, MOD_RESULT, (user, newnick)); in HandleLocal() 72 if (MOD_RESULT == MOD_RES_DENY) in HandleLocal()
|
/dports/irc/inspircd/inspircd-3.11.0/src/coremods/core_info/ |
H A D | core_info.cpp | 144 ModResult MOD_RESULT; in OnUserConnect() local 147 FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, parameters, user, true)); in OnUserConnect() 148 if (!MOD_RESULT) in OnUserConnect() 151 MOD_RESULT = MOD_RES_PASSTHRU; in OnUserConnect() 153 FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, parameters, user, true)); in OnUserConnect() 154 if (!MOD_RESULT) in OnUserConnect()
|
/dports/irc/anope/anope-2.0.9/modules/ |
H A D | fantasy.cpp | 184 EventReturn MOD_RESULT; in OnPrivmsg() local 187 FOREACH_RESULT(OnBotFantasy, MOD_RESULT, (source, cmd, c->ci, params)); in OnPrivmsg() 191 FOREACH_RESULT(OnBotNoFantasyAccess, MOD_RESULT, (source, cmd, c->ci, params)); in OnPrivmsg() 194 if (MOD_RESULT == EVENT_STOP || !has_fantasia) in OnPrivmsg() 197 if (MOD_RESULT != EVENT_ALLOW && !info.permission.empty() && !source.HasCommand(info.permission)) in OnPrivmsg() 200 FOREACH_RESULT(OnPreCommand, MOD_RESULT, (source, cmd, params)); in OnPrivmsg() 201 if (MOD_RESULT == EVENT_STOP) in OnPrivmsg()
|
/dports/irc/inspircd/inspircd-3.11.0/src/coremods/core_channel/ |
H A D | core_channel.cpp | 242 ModResult MOD_RESULT; in OnUserPreJoin() local 243 FIRST_MOD_RESULT(OnCheckKey, MOD_RESULT, (user, chan, keygiven)); in OnUserPreJoin() 244 if (!MOD_RESULT.check(InspIRCd::TimingSafeCompare(ckey, keygiven))) in OnUserPreJoin() 255 ModResult MOD_RESULT; in OnUserPreJoin() local 256 FIRST_MOD_RESULT(OnCheckInvite, MOD_RESULT, (user, chan)); in OnUserPreJoin() 257 if (MOD_RESULT != MOD_RES_ALLOW) in OnUserPreJoin() 267 ModResult MOD_RESULT; in OnUserPreJoin() local 268 FIRST_MOD_RESULT(OnCheckLimit, MOD_RESULT, (user, chan)); in OnUserPreJoin() 269 if (!MOD_RESULT.check(chan->GetUserCounter() < static_cast<size_t>(limitmode.ext.get(chan)))) in OnUserPreJoin()
|
H A D | cmd_invite.cpp | 53 ModResult MOD_RESULT; in Handle() local 117 FIRST_MOD_RESULT(OnUserPreInvite, MOD_RESULT, (user,u,c,timeout)); in Handle() 119 if (MOD_RESULT == MOD_RES_DENY) in Handle() 123 else if (MOD_RESULT == MOD_RES_PASSTHRU) in Handle()
|
/dports/irc/anope/anope-2.0.9/src/ |
H A D | channels.cpp | 136 EventReturn MOD_RESULT; in CheckDelete() local 268 EventReturn MOD_RESULT; in SetModeInternal() local 297 if (enforce_mlock && MOD_RESULT != EVENT_STOP) in SetModeInternal() 324 if (!enforce_mlock || MOD_RESULT == EVENT_STOP) in SetModeInternal() 338 EventReturn MOD_RESULT; in RemoveModeInternal() local 367 if (enforce_mlock && MOD_RESULT != EVENT_STOP) in RemoveModeInternal() 403 if (!enforce_mlock || MOD_RESULT == EVENT_STOP) in RemoveModeInternal() 788 EventReturn MOD_RESULT; in Kick() local 790 if (MOD_RESULT == EVENT_STOP) in Kick() 909 EventReturn MOD_RESULT; in CheckKick() local [all …]
|
H A D | bots.cpp | 156 EventReturn MOD_RESULT; in Assign() local 157 FOREACH_RESULT(OnPreBotAssign, MOD_RESULT, (u, ci, this)); in Assign() 158 if (MOD_RESULT == EVENT_STOP) in Assign() 172 EventReturn MOD_RESULT; in UnAssign() local 173 FOREACH_RESULT(OnBotUnAssign, MOD_RESULT, (u, ci)); in UnAssign() 174 if (MOD_RESULT == EVENT_STOP) in UnAssign()
|
H A D | access.cpp | 347 EventReturn MOD_RESULT; in HasPriv() local 348 FOREACH_RESULT(OnCheckPriv, MOD_RESULT, (access, name)); in HasPriv() 350 if (MOD_RESULT != EVENT_ALLOW && !access->HasPriv(name)) in HasPriv() 373 EventReturn MOD_RESULT; in HasPriv() local 374 FOREACH_RESULT(OnGroupCheckPriv, MOD_RESULT, (this, name)); in HasPriv() 375 if (MOD_RESULT != EVENT_CONTINUE) in HasPriv() 376 return MOD_RESULT == EVENT_ALLOW; in HasPriv()
|
H A D | process.cpp | 56 EventReturn MOD_RESULT; in Process() local 57 FOREACH_RESULT(OnMessage, MOD_RESULT, (src, command, params)); in Process() 58 if (MOD_RESULT == EVENT_STOP) in Process()
|
/dports/irc/inspircd/inspircd-3.11.0/src/ |
H A D | command_parse.cpp | 191 ModResult MOD_RESULT; in ProcessCommand() local 192 FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, command_p, user, false)); in ProcessCommand() 193 if (MOD_RESULT == MOD_RES_DENY) in ProcessCommand() 250 ModResult MOD_RESULT; in ProcessCommand() local 251 FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, command_p, user, false)); in ProcessCommand() 252 if (MOD_RESULT == MOD_RES_DENY) in ProcessCommand() 304 FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, command_p, user, true)); in ProcessCommand() 305 if (MOD_RESULT == MOD_RES_DENY) in ProcessCommand()
|
H A D | snomasks.cpp | 105 ModResult MOD_RESULT; in SendMessage() local 106 FIRST_MOD_RESULT(OnSendSnotice, MOD_RESULT, (letter, desc, message)); in SendMessage() 107 if (MOD_RESULT == MOD_RES_DENY) in SendMessage()
|
H A D | channels.cpp | 214 ModResult MOD_RESULT; in JoinUser() local 215 FIRST_MOD_RESULT(OnUserPreJoin, MOD_RESULT, (user, NULL, cname, privs, key)); in JoinUser() 216 if (MOD_RESULT == MOD_RES_DENY) in JoinUser() 232 ModResult MOD_RESULT; in JoinUser() local 233 FIRST_MOD_RESULT(OnUserPreJoin, MOD_RESULT, (user, chan, cname, privs, key)); in JoinUser() 237 if (MOD_RESULT == MOD_RES_DENY) in JoinUser() 245 if (MOD_RESULT == MOD_RES_PASSTHRU) in JoinUser()
|
H A D | users.cpp | 879 ModResult MOD_RESULT; in WriteNumeric() local 881 FIRST_MOD_RESULT(OnNumeric, MOD_RESULT, (this, numeric)); in WriteNumeric() 883 if (MOD_RESULT == MOD_RES_DENY) in WriteNumeric() 1018 ModResult MOD_RESULT; in ChangeRealName() local 1020 if (MOD_RESULT == MOD_RES_DENY) in ChangeRealName() 1037 ModResult MOD_RESULT; in ChangeDisplayedHost() local 1039 if (MOD_RESULT == MOD_RES_DENY) in ChangeDisplayedHost() 1142 ModResult MOD_RESULT; in SetClass() local 1143 FIRST_MOD_RESULT(OnSetConnectClass, MOD_RESULT, (this,c)); in SetClass() 1144 if (MOD_RESULT == MOD_RES_DENY) in SetClass() [all …]
|
H A D | mode.cpp | 269 ModResult MOD_RESULT; in TryMode() local 270 FIRST_MOD_RESULT(OnRawMode, MOD_RESULT, (user, chan, mh, parameter, adding)); in TryMode() 272 if (IS_LOCAL(user) && (MOD_RESULT == MOD_RES_DENY)) in TryMode() 277 if (chan && !SkipACL && (MOD_RESULT != MOD_RES_ALLOW)) in TryMode() 279 MOD_RESULT = mh->AccessCheck(user, chan, parameter, adding); in TryMode() 281 if (MOD_RESULT == MOD_RES_DENY) in TryMode() 283 if (MOD_RESULT == MOD_RES_PASSTHRU) in TryMode() 519 ModResult MOD_RESULT; in ShowListModeList() local 520 FIRST_MOD_RESULT(OnRawMode, MOD_RESULT, (user, chan, mh, "", true)); in ShowListModeList() 521 if (MOD_RESULT == MOD_RES_DENY) in ShowListModeList()
|
/dports/irc/inspircd/inspircd-3.11.0/src/coremods/core_oper/ |
H A D | cmd_kill.cpp | 89 ModResult MOD_RESULT; in Handle() local 90 FIRST_MOD_RESULT(OnKill, MOD_RESULT, (user, target, parameters[1])); in Handle() 92 if (MOD_RESULT == MOD_RES_DENY) in Handle()
|
/dports/irc/inspircd/inspircd-3.11.0/src/coremods/ |
H A D | core_mode.cpp | 117 ModResult MOD_RESULT; in Handle() local 118 FIRST_MOD_RESULT(OnPreMode, MOD_RESULT, (user, targetuser, targetchannel, changelist)); in Handle() 123 if (MOD_RESULT == MOD_RES_PASSTHRU) in Handle() 136 else if (MOD_RESULT == MOD_RES_DENY) in Handle()
|
/dports/irc/anope/anope-2.0.9/modules/extra/stats/ |
H A D | m_chanstats.cpp | 30 EventReturn MOD_RESULT; in Execute() local 31 FOREACH_RESULT(OnSetChannelOption, MOD_RESULT, (source, this, ci, params[1])); in Execute() 32 if (MOD_RESULT == EVENT_STOP) in Execute() 35 …if (MOD_RESULT != EVENT_ALLOW && !source.AccessFor(ci).HasPriv("SET") && source.permission.empty()… in Execute() 83 EventReturn MOD_RESULT; in Run() local 84 FOREACH_RESULT(OnSetNickOption, MOD_RESULT, (source, this, na->nc, param)); in Run() 85 if (MOD_RESULT == EVENT_STOP) in Run()
|