From 6fde6b0fe90abde84011202edd40fe46eb06af44 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 21 Nov 2010 16:20:55 +0000 Subject: --- src/mods/commands/yc_debug.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/mods/commands/yc_debug.cpp') diff --git a/src/mods/commands/yc_debug.cpp b/src/mods/commands/yc_debug.cpp index 0109d02..9f770b7 100644 --- a/src/mods/commands/yc_debug.cpp +++ b/src/mods/commands/yc_debug.cpp @@ -1,12 +1,11 @@ /*:* - *: File: ./src/mods/commands/yc_debug.cpp + *: File: ./src/mods/commands/yc_msg.cpp *: - *: yChat; Homepage: ychat.buetow.org; Version 0.9.0-CURRENT + *: yChat; Homepage: www.yChat.org; Version 0.8.3-CURRENT *: *: Copyright (C) 2003 Paul C. Buetow, Volker Richter *: Copyright (C) 2004 Paul C. Buetow *: Copyright (C) 2005 EXA Digital Solutions GbR - *: Copyright (C) 2006, 2007 Paul C. Buetow *: *: This program is free software; you can redistribute it and/or *: modify it under the terms of the GNU General Public License @@ -52,13 +51,13 @@ extern "C" string s_test_user( *iter ); bool b_found; user* p_whisper_user = p_chat->get_user( s_test_user, b_found ); - sess *p_sess = p_sman->get_elem(p_user->get_tmpid()); + sess *p_sess = p_sman->get_elem(p_user->get_tmpid()); - string s_msg = "DEBUG-A: " + tool::long2string(reinterpret_cast(p_sess->get_user())) + "
"; + string s_msg = "DEBUG-A: " + tool::int2string(reinterpret_cast(p_sess->get_user())) + "
"; p_user->msg_post( &s_msg ); //p_user->debug(); - s_msg = "DEBUG-B: " + tool::long2string(reinterpret_cast(p_sess->get_user())) + "
"; + s_msg = "DEBUG-B: " + tool::int2string(reinterpret_cast(p_sess->get_user())) + "
"; p_user->msg_post( &s_msg ); } -- cgit v1.2.3