Changeset 39 for trunk/src/trinitycore/CliRunnable.cpp
- Timestamp:
- 11/19/08 13:26:44 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/trinitycore/CliRunnable.cpp
r2 r39 37 37 #include "PlayerDump.h" 38 38 #include "Player.h" 39 #include "IRCClient.h" 39 40 40 41 //CliCommand and CliCommandHolder are defined in World.h to avoid cyclic deps … … 314 315 sWorld.SendWorldText(LANG_SYSTEMMESSAGE,textUtf8.c_str()); 315 316 zprintf("Broadcasting to the world: %s\r\n",textUtf8.c_str()); 317 318 if((sIRC.BOTMASK & 256) != 0) 319 { 320 std::string ircchan = "#"; 321 ircchan += sIRC._irc_chan[sIRC.anchn].c_str(); 322 sIRC.Send_IRC_Channel(ircchan, sIRC.MakeMsg("\00304,08\037/!\\\037\017\00304 System Message \00304,08\037/!\\\037\017 %s", "%s", text), true); 323 } 324 316 325 } 317 326