diff options
Diffstat (limited to 'protocols/EmLanProto/src')
-rw-r--r-- | protocols/EmLanProto/src/mlan.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/EmLanProto/src/mlan.cpp b/protocols/EmLanProto/src/mlan.cpp index 2f72daf65d..2db580c26b 100644 --- a/protocols/EmLanProto/src/mlan.cpp +++ b/protocols/EmLanProto/src/mlan.cpp @@ -205,7 +205,7 @@ MCONTACT CMLan::FindContact(in_addr addr, const char *nick, bool add_to_list, bo u_long caddr = g_plugin.getDword(res, "ipaddr", -1); if (caddr == addr.S_un.S_addr) { if (make_permanent) - db_unset(res, "CList", "NotOnList"); + Contact_PutOnList(res); if (make_visible) Contact_Hide(res, false); return res; @@ -219,7 +219,7 @@ MCONTACT CMLan::FindContact(in_addr addr, const char *nick, bool add_to_list, bo g_plugin.setString(res, "Nick", nick); if (!make_permanent) - db_set_b(res, "CList", "NotOnList", 1); + Contact_RemoveFromList(res); if (!make_visible) Contact_Hide(res); |