pkgsrc/chat/centerim/patches/patch-src_hooks_msnhook.cc
joerg d4caee9091 Be a friend of the class, not of every member. Use the class we are
friend with to find the method we are interested in, not the evil
parent. Consistently return a value from a non-void function.
2013-03-02 18:20:19 +00:00

22 lines
644 B
C++

$NetBSD: patch-src_hooks_msnhook.cc,v 1.1 2013/03/02 18:20:19 joerg Exp $
--- src/hooks/msnhook.cc.orig 2013-03-01 12:43:38.000000000 +0000
+++ src/hooks/msnhook.cc
@@ -684,7 +684,7 @@ void msncallbacks::gotBuddyListInfo(MSN:
mhook.setautostatus(mhook.manualstatus);
mhook.timer_ping = timer_current;
- mhook.log(abstracthook::logLogged);
+ mhook.log(msnhook::logLogged);
face.update();
}
@@ -883,7 +883,7 @@ void msncallbacks::closingConnection(MSN
clist.setoffline(msn);
mhook.fonline = false;
- mhook.log(abstracthook::logDisconnected);
+ mhook.log(msnhook::logDisconnected);
face.update();
}