mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 15:12:11 +02:00
CTCP msgs/replies stops the "event privmsg" or "event notice" signals now
so you don't have to check for them anymore (unless you use signal_add_first()..). /WINDOW MOVE command had some bugs. CTCP reply to some channel didn't display the channel name. Several code cleanups. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@327 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
919abb2c6f
commit
18f3c74d68
19 changed files with 231 additions and 229 deletions
|
|
@ -367,7 +367,9 @@ static void event_connected(const char *data, IRC_SERVER_REC *server, const char
|
|||
|
||||
if (server->real_address == NULL) {
|
||||
/* set the server address */
|
||||
server->real_address = g_strdup(from);
|
||||
server->real_address = from == NULL ?
|
||||
g_strdup(server->connrec->address) : /* shouldn't happen.. */
|
||||
g_strdup(from);
|
||||
}
|
||||
|
||||
/* last welcome message found - commands can be sent to server now. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue