1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 15:33:12 +02:00

Const const const

This commit is contained in:
Bram Matthys
2021-09-11 08:17:12 +02:00
parent ac84d4f207
commit 7cabd4b79e
21 changed files with 88 additions and 88 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ ModuleHeader MOD_HEADER
/* Variables */
long CAP_SERVER_TIME = 0L;
int server_time_mtag_is_ok(Client *client, char *name, char *value);
int server_time_mtag_is_ok(Client *client, const char *name, const char *value);
void mtag_add_or_inherit_time(Client *sender, MessageTag *recv_mtags, MessageTag **mtag_list, const char *signature);
MOD_INIT()
@@ -75,7 +75,7 @@ MOD_UNLOAD()
* syntax.
* We simply allow server-time ONLY from servers.
*/
int server_time_mtag_is_ok(Client *client, char *name, char *value)
int server_time_mtag_is_ok(Client *client, const char *name, const char *value)
{
if (IsServer(client) && !BadPtr(value))
return 1;