cleanup: Make muc_nick() return const char*

Fix `type qualifiers ignored on function return type`.
This commit is contained in:
Michael Vetter
2026-02-19 10:32:11 +01:00
parent 4b610579ae
commit b8eddb4e3c
2 changed files with 2 additions and 2 deletions

View File

@@ -427,7 +427,7 @@ muc_rooms(void)
* Return current users nickname for the specified room
* The nickname is owned by the chat room and should not be modified or freed
*/
const char* const
const char*
muc_nick(const char* const room)
{
ChatRoom* chat_room = g_hash_table_lookup(rooms, room);