Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My implementation of https://github.com/ircv3/ircv3-ideas/issues/108 #98

Open
wants to merge 2 commits into
base: unreal6
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix indentation, give better description, rename rated-tag
ValwareIRC authored Oct 23, 2023
commit 6ce72758befb2975d1220f7a2552fa7610482679
6 changes: 3 additions & 3 deletions files/rated.c → files/rated-tag.c
Original file line number Diff line number Diff line change
@@ -25,9 +25,9 @@ module
#define MTAG_RATED "+draft/rated" // can be changed at a later date

ModuleHeader MOD_HEADER = {
"third/rated",
"third/rated-tag",
"1.0",
"+draft/rated",
"+draft/rated tag, allowing clients to implement ratings on their message",
"Valware",
"unrealircd-6",
};
@@ -65,7 +65,7 @@ MOD_UNLOAD()
int rated_mtag_is_ok(Client *client, const char *name, const char *value)
{
if (strlen(value) && strlen(value) >= 100) // allow null values but cap long values to 100 chars.
return 0;
return 0;
return 1;
}