cleanup: Make muc_nick() return const char*
Fix `type qualifiers ignored on function return type`.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user