--- irc-cvs.py	2005-05-29 03:27:27.000000000 +0200
+++ irc.py	2005-05-28 06:53:14.000000000 +0200
@@ -1108,6 +1103,9 @@
     hostname = configfile.get('transport','Hostname')
     port = int(configfile.get('transport','Port'))
     secret = configfile.get('transport','Secret')
+    servertype = 'jabberd14'
+    if configfile.has_option('transport','ServerType'):
+        servertype = configfile.get('transport','ServerType')
     if configfile.has_option('transport','LocalAddress'):
         localaddress = configfile.get('transport','LocalAddress')
     if configfile.has_option('transport','Charset'):
@@ -1126,7 +1124,7 @@
 
     ircobj = irclib.IRC(fn_to_add_socket=irc_add_conn,fn_to_remove_socket=irc_del_conn)
     global connection
-    connection = xmpp.client.Component(hostname,port)
+    connection = xmpp.client.Component(hostname,port,typ=servertype)
     transport = Transport(connection,ircobj)
     transport.userfile = userfile
     if not connectxmpp(transport.register_handlers):
