mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-15 10:10:19 +00:00
Revert "add option to auto-open a new tab when sending /msg (openSUSE)", /query msg is already there for that
This reverts commit 1e74680172.
This commit is contained in:
@@ -2605,13 +2605,7 @@ cmd_msg (struct session *sess, char *tbuf, char *word[], char *word_eol[])
|
||||
}
|
||||
newsess = find_dialog (sess->server, nick);
|
||||
if (!newsess)
|
||||
{
|
||||
newsess = find_channel (sess->server, nick);
|
||||
if (!newsess && prefs.gui_auto_open_msg)
|
||||
{
|
||||
newsess = new_ircwindow (sess->server, nick, SESS_DIALOG, 0);
|
||||
}
|
||||
}
|
||||
if (newsess)
|
||||
inbound_chanmsg (newsess->server, NULL, newsess->channel,
|
||||
newsess->server->nick, msg, TRUE, FALSE);
|
||||
|
||||
Reference in New Issue
Block a user