From 379a5998fad3cd736704cf78be14d25ff4617723 Mon Sep 17 00:00:00 2001 From: sje Date: Wed, 23 May 2007 23:45:25 +0000 Subject: added newlines removed warnings fix for icons and options error git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@185 4f64403b-2f21-0410-a795-97e2b3489a10 --- ping_protocol/pingproto.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ping_protocol/pingproto.cpp') diff --git a/ping_protocol/pingproto.cpp b/ping_protocol/pingproto.cpp index 5982c52..bf925f2 100644 --- a/ping_protocol/pingproto.cpp +++ b/ping_protocol/pingproto.cpp @@ -28,7 +28,7 @@ int GetCaps(WPARAM wParam,LPARAM lParam) //ret = PF2_ONLINE | PF2_INVISIBLE | PF2_SHORTAWAY | PF2_LONGAWAY | PF2_LIGHTDND // | PF2_HEAVYDND | PF2_FREECHAT | PF2_OUTTOLUNCH | PF2_ONTHEPHONE; //} //ret = options.nrstatus | options.off_status | options.rstatus; - ret = Proto_Status2Flag(options.rstatus); + ret = Proto_Status2Flag(options.rstatus) | Proto_Status2Flag(options.nrstatus) | Proto_Status2Flag(options.tstatus); if(options.off_status != ID_STATUS_OFFLINE) ret |= Proto_Status2Flag(options.off_status); } @@ -40,6 +40,7 @@ int GetCaps(WPARAM wParam,LPARAM lParam) //| PF2_HEAVYDND | PF2_FREECHAT | PF2_OUTTOLUNCH | PF2_ONTHEPHONE; //} //ret = options.nrstatus | options.off_status | options.rstatus; //ret = Proto_Status2Flag(options.rstatus) | Proto_Status2Flag(options.off_status); + ret = Proto_Status2Flag(options.nrstatus) | Proto_Status2Flag(options.tstatus); break; case PFLAGNUM_4: break; @@ -139,7 +140,7 @@ int GetStatus(WPARAM wParam,LPARAM lParam) PLUGININFOEX pluginInfo={ sizeof(PLUGININFOEX), "Ping Protocol", - PLUGIN_MAKE_VERSION(0, 5, 0, 0), + PLUGIN_MAKE_VERSION(0, 5, 0, 1), "Ping labelled IP addresses or domain names.", "Scott Ellis", "mail@scottellis.com.au", -- cgit v1.2.3