diff options
Diffstat (limited to 'protocols/IRCG/src/userinfo.cpp')
| -rw-r--r-- | protocols/IRCG/src/userinfo.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/IRCG/src/userinfo.cpp b/protocols/IRCG/src/userinfo.cpp index 9a5793c979..35a23f3ca1 100644 --- a/protocols/IRCG/src/userinfo.cpp +++ b/protocols/IRCG/src/userinfo.cpp @@ -188,15 +188,15 @@ INT_PTR CALLBACK UserDetailsDlgProc(HWND m_hwnd, UINT msg, WPARAM wParam, LPARAM  int __cdecl CIrcProto::OnInitUserInfo(WPARAM wParam, LPARAM lParam)
  {
 -	char* szProto = ( char* )CallService( MS_PROTO_GETCONTACTBASEPROTO, lParam, 0);
 -	HANDLE hContact = (HANDLE) lParam;
 +	HANDLE hContact = (HANDLE)lParam;
 +	char *szProto = GetContactProto(hContact);
  	if ( !hContact || !szProto || lstrcmpiA( szProto, m_szModuleName ))
  		return 0;
 -	if ( getByte( hContact, "ChatRoom", 0 ) != 0 )
 +	if ( getByte( hContact, "ChatRoom", 0) != 0 )
  		return 0;
 -	if ( getByte( hContact, "DCC", 0 ) != 0 )
 +	if ( getByte( hContact, "DCC", 0) != 0)
  		return 0;
  	DBVARIANT dbv;
  | 
