1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 22:23:13 +02:00

Reformat all source code, using 'make format' (clang-format 21.1.8)

This reformats entire UnrealIRCd source code, according to
.clang-format which was previously commited.

This is reproducable using clang-format version 21.1.8.

These are only visual changes, they have no effect on code.

This commit will be added to .git-blame-ignore-revs so 'git blame'
and the similar blame view on GitHub will ignore this commit.
This commit is contained in:
Bram Matthys
2026-07-05 12:09:16 +02:00
parent 678aeb5c17
commit 548d66d26c
348 changed files with 17458 additions and 17664 deletions
+25 -24
View File
@@ -22,14 +22,13 @@
#include "unrealircd.h"
ModuleHeader MOD_HEADER
= {
"echo-message",
"5.0",
"echo-message CAP",
"UnrealIRCd Team",
"unrealircd-6",
};
ModuleHeader MOD_HEADER = {
"echo-message",
"5.0",
"echo-message CAP",
"UnrealIRCd Team",
"unrealircd-6",
};
/* Variables */
long CAP_ECHO_MESSAGE = 0L;
@@ -73,15 +72,16 @@ int em_chanmsg(Client *client, Channel *channel, int sendflags, const char *pref
if (sendtype != SEND_TYPE_TAGMSG)
{
sendto_prefix_one(client, client, mtags, ":%s %s %s :%s",
client->name,
sendtype_to_cmd(sendtype),
target,
text);
} else {
client->name,
sendtype_to_cmd(sendtype),
target,
text);
} else
{
sendto_prefix_one(client, client, mtags, ":%s %s %s",
client->name,
sendtype_to_cmd(sendtype),
target);
client->name,
sendtype_to_cmd(sendtype),
target);
}
}
return 0;
@@ -96,15 +96,16 @@ int em_usermsg(Client *client, Client *to, MessageTag *mtags, const char *text,
if (sendtype != SEND_TYPE_TAGMSG)
{
sendto_prefix_one(client, client, mtags, ":%s %s %s :%s",
client->name,
sendtype_to_cmd(sendtype),
to->name,
text);
} else {
client->name,
sendtype_to_cmd(sendtype),
to->name,
text);
} else
{
sendto_prefix_one(client, client, mtags, ":%s %s %s",
client->name,
sendtype_to_cmd(sendtype),
to->name);
client->name,
sendtype_to_cmd(sendtype),
to->name);
}
}
return 0;