Skip to content

Commit

Permalink
remove forcing the user to non-brief mode
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/mmapper/code/trunk/mmapper@90 14c008a5-6e10-0410-bf79-c100e0f1932b
  • Loading branch information
alve committed Aug 21, 2006
1 parent 76de8cb commit b647116
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/parser/mumexmlparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,11 +482,11 @@ bool MumeXmlParser::characters(QByteArray& ch)

void MumeXmlParser::parseMudCommands(QString& str) {

if (str.startsWith('B') && str.startsWith("Brief mode on"))
/*if (str.startsWith('B') && str.startsWith("Brief mode on"))
{
emit sendToMud((QByteArray)"brief\n");
return;
}
}*/

if (str.startsWith('Y'))
{
Expand Down
4 changes: 2 additions & 2 deletions src/parser/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,9 @@ void Parser::parseNewMudInput(IncomingData& data /*TelnetIncomingDataQueue& que*

void Parser::parseMudCommands(QString& str) {

if (str.startsWith('B') && str.startsWith("Brief mode on")){
/*if (str.startsWith('B') && str.startsWith("Brief mode on")){
emit sendToMud((QByteArray)"brief\n");
}
}*/

if (str.startsWith('<') && str.startsWith("<xml>")) //we are in xml mode
{ emit setXmlMode();
Expand Down
4 changes: 2 additions & 2 deletions src/proxy/telnetfilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ void TelnetFilter::analyzeMudStream(const char * input, int length)
m_xmlMode = true;
m_xmlModeAutoconfigured = true;

emit sendToMud((QByteArray)"brief\n");
//emit sendToMud((QByteArray)"brief\n");
emit sendToMud((QByteArray)"prompt all\n");
if (Config().m_IAC_prompt_parser)
{
Expand All @@ -170,7 +170,7 @@ void TelnetFilter::analyzeMudStream(const char * input, int length)
{
m_xmlMode = false;
m_xmlModeAutoconfigured = true;
emit sendToMud((QByteArray)"brief\n");
//emit sendToMud((QByteArray)"brief\n");
emit sendToMud((QByteArray)"prompt all\n");
if (Config().m_IAC_prompt_parser)
{
Expand Down

0 comments on commit b647116

Please sign in to comment.