1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 20:43: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
@@ -45,7 +45,7 @@ extern EVENT(unrealdb_expire_secret_cache);
* can be later, in case of high load, in very extreme cases even up to 1000 or 2000
* msec later but that would be very unusual. Just saying, it's not a guarantee..
*/
Event *EventAdd(Module *module, char *name, vFP event, void *data, long every_msec, int count)
Event *EventAdd(Module *module, const char *name, vFP event, void *data, long every_msec, int count)
{
Event *newevent;
@@ -147,7 +147,7 @@ static void CleanupEvents(void)
}
}
Event *EventFind(char *name)
Event *EventFind(const char *name)
{
Event *eventptr;