~dcplusplus-team/dcpp-plugin-sdk-cpp/ScriptPlugin

« back to all changes in this revision

Viewing changes to src/ScriptInstance.h

  • Committer: crise
  • Date: 2013-06-13 22:48:21 UTC
  • Revision ID: crise@apexdc.net-20130613224821-mi73q6xjsgcda5dg
eliminate some superfluous casts and don't remove hubs twice.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
 
55
55
        bool CheckFunction(const string& table, const string& method);
56
56
        string GetHubType(HubDataPtr aHub) { return (aHub->protocol == PROTOCOL_ADC ? "adch" : "nmdch"); }
57
 
        Bool GetLuaBool();
 
57
        bool GetLuaBool();
58
58
 
59
59
        static lua_State* L;
60
60
        static CriticalSection cs;