mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-09 06:43:12 +02:00
Const const const
This commit is contained in:
@@ -34,7 +34,7 @@ ModuleHeader MOD_HEADER
|
||||
/* Variables */
|
||||
long CAP_ACCOUNT_TAG = 0L;
|
||||
|
||||
int msgid_mtag_is_ok(Client *client, char *name, char *value);
|
||||
int msgid_mtag_is_ok(Client *client, const char *name, const char *value);
|
||||
void mtag_add_or_inherit_msgid(Client *sender, MessageTag *recv_mtags, MessageTag **mtag_list, const char *signature);
|
||||
|
||||
MOD_INIT()
|
||||
@@ -69,7 +69,7 @@ MOD_UNLOAD()
|
||||
* syntax.
|
||||
* We simply allow msgid ONLY from servers and with any syntax.
|
||||
*/
|
||||
int msgid_mtag_is_ok(Client *client, char *name, char *value)
|
||||
int msgid_mtag_is_ok(Client *client, const char *name, const char *value)
|
||||
{
|
||||
if (IsServer(client) && !BadPtr(value))
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user