forked from Tr0n/client
Removed mobile/SMS from messenger
This commit is contained in:
@ -536,21 +536,6 @@ PyObject* netSendWhisperPacket(PyObject* poSelf, PyObject* poArgs)
|
||||
return Py_BuildNone();
|
||||
}
|
||||
|
||||
PyObject* netSendMobileMessagePacket(PyObject* poSelf, PyObject* poArgs)
|
||||
{
|
||||
char* szName;
|
||||
char* szLine;
|
||||
if (!PyTuple_GetString(poArgs, 0, &szName))
|
||||
return Py_BuildException();
|
||||
|
||||
if (!PyTuple_GetString(poArgs, 1, &szLine))
|
||||
return Py_BuildException();
|
||||
|
||||
CPythonNetworkStream& rkNetStream=CPythonNetworkStream::Instance();
|
||||
rkNetStream.SendMobileMessagePacket(szName, szLine);
|
||||
return Py_BuildNone();
|
||||
}
|
||||
|
||||
PyObject* netSendCharacterPositionPacket(PyObject* poSelf, PyObject* poArgs)
|
||||
{
|
||||
int iPosition;
|
||||
@ -1789,7 +1774,6 @@ void initnet()
|
||||
{ "SendChatPacket", netSendChatPacket, METH_VARARGS },
|
||||
{ "SendEmoticon", netSendEmoticon, METH_VARARGS },
|
||||
{ "SendWhisperPacket", netSendWhisperPacket, METH_VARARGS },
|
||||
{ "SendMobileMessagePacket", netSendMobileMessagePacket, METH_VARARGS },
|
||||
|
||||
{ "SendCharacterPositionPacket", netSendCharacterPositionPacket, METH_VARARGS },
|
||||
|
||||
|
Reference in New Issue
Block a user