mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Fixed to work with new redirection code. Also don't set the mode to +(null)
if there's no server mode. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1986 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ea03650b3f
commit
09ca671577
2 changed files with 45 additions and 95 deletions
|
|
@ -227,8 +227,11 @@ void plugin_proxy_dump_data(CLIENT_REC *client)
|
|||
|
||||
/* user mode / away status */
|
||||
if (client->server != NULL) {
|
||||
proxy_outserver(client, "MODE %s :+%s", client->server->nick,
|
||||
client->server->usermode);
|
||||
if (client->server->usermode != NULL) {
|
||||
proxy_outserver(client, "MODE %s :+%s",
|
||||
client->server->nick,
|
||||
client->server->usermode);
|
||||
}
|
||||
if (client->server->usermode_away) {
|
||||
proxy_outdata(client, ":%s 306 %s :You have been marked as being away\n",
|
||||
client->proxy_address, client->nick);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue