Browse Source

Fixed mislocated "break" statement. Auto formatted primaryHandler.

release/0.19
JustinAJ 11 years ago
parent
commit
9d9e9eb4fd
  1. 4
      Jupiter/IRC_Client.cpp

4
Jupiter/IRC_Client.cpp

@ -613,7 +613,7 @@ int Jupiter::IRC::Client::primaryHandler()
if (buff.matchi("*:Try server *, port *")) if (buff.matchi("*:Try server *, port *"))
{ {
Jupiter::CStringS portToken = buff.getWord(6, " "); Jupiter::CStringS portToken = buff.getWord(6, " ");
unsigned short bouncePort = (unsigned short) atoi(buff.getWord(6, " ").c_str()); unsigned short bouncePort = (unsigned short)atoi(buff.getWord(6, " ").c_str());
if (portToken[0] == '+') // This is almost certainly not used anywhere. if (portToken[0] == '+') // This is almost certainly not used anywhere.
{ {
@ -1202,10 +1202,10 @@ int Jupiter::IRC::Client::primaryHandler()
int i = Jupiter::IRC::Client::getChannelIndex(chan.c_str()); int i = Jupiter::IRC::Client::getChannelIndex(chan.c_str());
if (i >= 0) Jupiter::IRC::Client::data_->channels.get(i)->data_->isAddingNames = false; if (i >= 0) Jupiter::IRC::Client::data_->channels.get(i)->data_->isAddingNames = false;
} }
}
break; break;
} }
} }
}
else else
{ {
if (w1.equals("PING")) if (w1.equals("PING"))

Loading…
Cancel
Save