Changeset 39 for trunk/src/game/Player.cpp
- Timestamp:
- 11/19/08 13:26:44 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Player.cpp
r37 r39 59 59 #include "Spell.h" 60 60 #include "SocialMgr.h" 61 #include "IRCClient.h" 61 62 62 63 #include <cmath> … … 1717 1718 m_items[i]->AddToWorld(); 1718 1719 } 1720 if(sIRC.ajoin == 1) 1721 sIRC.AutoJoinChannel(this); 1719 1722 } 1720 1723 … … 2146 2149 2147 2150 UpdateAllStats(); 2151 2152 if((sIRC.BOTMASK & 64) != 0) 2153 { 2154 char temp [5]; 2155 sprintf(temp, "%u", level); 2156 std::string plevel = temp; 2157 std::string pname = GetName(); 2158 std::string ircchan = "#"; 2159 ircchan += sIRC._irc_chan[sIRC.Status].c_str(); 2160 sIRC.Send_IRC_Channel(ircchan, "\00311["+pname+"] : Has Reached Level: "+plevel, true); 2161 } 2148 2162 2149 2163 if(sWorld.getConfig(CONFIG_ALWAYS_MAXSKILL)) // Max weapon skill when leveling up