forked from Mirrors/openclonk
C4Network2IRC: Remove call to boost::cref which seems to be unnecessary since C4GUI::Ico_Error is just an integer
parent
4e23a49d78
commit
e395e0741d
|
@ -399,7 +399,7 @@ bool C4Network2IRCClient::Join(const char *szChannel)
|
|||
const char* message = LoadResStr("IDS_ERR_CHANNELNOTALLOWED");
|
||||
PushMessage(MSG_Status, "", "", message);
|
||||
SetError("Joining this channel not allowed");
|
||||
Application.InteractiveThread.ThreadPostAsync(boost::bind(&C4GUI::Screen::ShowMessage, ::pGUI, message, LoadResStr("IDS_DLG_CHAT"), boost::cref(C4GUI::Ico_Error), static_cast<int32_t* const &>(0)));
|
||||
Application.InteractiveThread.ThreadPostAsync(boost::bind(&C4GUI::Screen::ShowMessage, ::pGUI, message, LoadResStr("IDS_DLG_CHAT"), C4GUI::Ico_Error, static_cast<int32_t* const &>(0)));
|
||||
return false;
|
||||
}
|
||||
return Send("JOIN", szChannel);
|
||||
|
|
Loading…
Reference in New Issue