Mercurial > ~mikael > mcabber > hg
diff mcabber/src/commands.c @ 1395:d431cd75eb53
Use bookmarked nickname when manually joining a room
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 10 Dec 2007 21:45:24 +0100 |
parents | 3d4963c8ce87 |
children | 0cb4361c85a7 |
line wrap: on
line diff
--- a/mcabber/src/commands.c Sun Dec 09 19:26:37 2007 +0100 +++ b/mcabber/src/commands.c Mon Dec 10 21:45:24 2007 +0100 @@ -2069,7 +2069,7 @@ // If no nickname is provided with the /join command, // we try to get a default nickname. if (!nick || !*nick) - nick = default_muc_nickname(); + nick = default_muc_nickname(roomname); else nick = to_utf8(nick); // If we still have no nickname, give up