白名单运行#34
Draft
RikaCelery wants to merge 2 commits into
Draft
Conversation
RikaCelery
force-pushed
the
feat/whitelist
branch
from
February 10, 2025 02:22
58eff62 to
0eb77d0
Compare
Contributor
Author
|
oops |
RikaCelery
force-pushed
the
feat/whitelist
branch
from
February 10, 2025 02:25
0eb77d0 to
c8266f4
Compare
RikaCelery
commented
Feb 10, 2025
| if plugin != nil { | ||
| key = plugin.Key | ||
| } else { // plugin 为空,代表所有插件 | ||
| key = AllPluginKey |
Contributor
Author
There was a problem hiding this comment.
看了一下这里没有这种情况出现
PaimengBot/basic/ban/switch.go
Lines 53 to 58 in c8266f4
RikaCelery
commented
Feb 10, 2025
| if plugin != nil { | ||
| key = plugin.Key | ||
| } else { // plugin 为空,代表所有插件 | ||
| key = AllPluginKey |
Contributor
Author
There was a problem hiding this comment.
同上,传入参数不可能为nil
PaimengBot/basic/ban/switch.go
Lines 53 to 58 in c8266f4
RikaCelery
marked this pull request as draft
February 10, 2025 02:52
fix: 切换白名单后所有插件被禁用
RikaCelery
force-pushed
the
feat/whitelist
branch
from
February 10, 2025 04:11
ca5c341 to
e0875e2
Compare
Contributor
Author
|
等 #33 合了再弄,conflict太多了 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.