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);

View File

@@ -93,7 +93,7 @@ GList* muc_rooms(void);
void muc_set_features(const char* const room, GSList* features);
const char* const muc_nick(const char* const room);
const char* muc_nick(const char* const room);
char* muc_password(const char* const room);
void muc_nick_change_start(const char* const room, const char* const new_nick);