Commit 0d3e4c86 authored by stettberger's avatar stettberger

anything old, do not ask

parent c1f42621
......@@ -292,6 +292,7 @@ int Utf8ToLocal (char *from, char **to) {
/* }}} */
/* {{{ proc_channels_input */
void proc_channels_input(Channel *c, char *buf) {
char *msg;
int len=LocalToUtf8(buf, &msg);
......@@ -571,6 +572,7 @@ void proc_channels_input(Channel *c, char *buf) {
}
silc_free(msg);
}
/* }}} */
/* {{{ proc_queries_input */
......@@ -1617,6 +1619,8 @@ silc_notify(SilcClient client, SilcClientConnection conn,
/* Left the Network */
DEBUG("Notify: SIGNOFF");
sender = va_arg(va, SilcClientEntry);
rm_buddy(sender);
refresh_buddylist();
str = va_arg(va, char *);
silc_hash_table_list(sender->channels, &ch);
while (silc_hash_table_get(&ch, (void *)&channel, (void *)&channel2)) {
......@@ -1718,8 +1722,9 @@ silc_notify(SilcClient client, SilcClientConnection conn,
break;
case SILC_NOTIFY_TYPE_KILLED:
DEBUG("Notify: KILLED");
sender=va_arg(va, SilcClientEntry);
rm_buddy(sender);
refresh_buddylist();
str=va_arg(va, char *);
id=va_arg(va, int);
sender2=va_arg(va, void *);
......@@ -1763,12 +1768,14 @@ silc_notify(SilcClient client, SilcClientConnection conn,
mode = va_arg(va, SilcUInt32);
SilcNotifyType watch_type=va_arg(va, int);
if (watch_type==SILC_NOTIFY_TYPE_NICK_CHANGE){
add_buddy(sender);
if (str)
print_out("","-!- Watch: %s is known as %s", sender->nickname, str);
else
print_out("","-!- Watch: %s is online now", sender->nickname, str);
va_end(va);
refresh_buddylist();
return;
}
proc_watch(sender, mode, watch_type);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment