1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 17:02:21 -05:00

Added version

This commit is contained in:
Sebastian Kaspari 2009-05-30 15:02:30 +02:00
parent 44f57c0cab
commit 2f107e8ea4
2 changed files with 6 additions and 2 deletions

View File

@ -29,5 +29,5 @@ import android.app.Application;
*/ */
public class YaaicApplication extends Application public class YaaicApplication extends Application
{ {
public static final String VERSION = " Alpha 1";
} }

View File

@ -21,6 +21,7 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
package org.yaaic.client.irc; package org.yaaic.client.irc;
import org.jibble.pircbot.PircBot; import org.jibble.pircbot.PircBot;
import org.yaaic.client.YaaicApplication;
/** /**
* IrcServer * IrcServer
@ -32,7 +33,10 @@ public class IrcServer extends PircBot
public IrcServer() public IrcServer()
{ {
this.setName("Yaaic"); this.setName("Yaaic");
this.setAutoNickChange(true);
this.setLogin("yaaic"); this.setLogin("yaaic");
this.setVersion("Yaaic " + YaaicApplication.VERSION);
this.setAutoNickChange(true);
} }
} }