[RESOLVED]Error (0.2.8-armagetronad-sty+ct) chatlog_write_pm

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply
Obsi
Posts: 7
Joined: Fri Sep 18, 2009 8:52 am

[RESOLVED]Error (0.2.8-armagetronad-sty+ct) chatlog_write_pm

Post by Obsi »

Couldn't find a good place to put this, not sure if it belongs on CT's forum or here.

chatlog_write_pm doesn't provide a space between the username being messaged and the message itself.
This patch fixes it.

Code: Select all

--- ePlayer.cpp.old     2009-09-22 13:25:37.000000000 -0700
+++ ePlayer.cpp 2009-09-22 13:25:53.000000000 -0700
@@ -2900,7 +2900,7 @@
             //send /msg to chatlog
             if (se_chatLogWritePM ){
                 tString str;
-                str << p->GetUserName() << " /msg " << receiver->GetUserName() << msg_core;
+                str << p->GetUserName() << " /msg " << receiver->GetUserName() << " " << msg_core;
                 se_SaveToChatLog(str);
             }
         }
Last edited by Obsi on Tue Sep 22, 2009 10:50 pm, edited 1 time in total.
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1963
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: Error (0.2.8-armagetronad-sty+ct) chatlog_write_pm

Post by kyle »

ya that is something i added to sty+ct, anyways fixed
Image
Post Reply