   `serverid` int(11) NOT NULL auto_increment,
   `server` varchar(255) NOT NULL default '',
   `port` int(11) NOT NULL default '0',
+  `password` varchar(255) NOT NULL default '',
   `nick` varchar(64) NOT NULL default '',
   `username` varchar(16) NOT NULL default '',
   `realname` varchar(255) NOT NULL default '',

  `lastnotice` int(11) NOT NULL default '0',
  `present` int(11) NOT NULL default '0',
  PRIMARY KEY  (`chanid`,`nick`)
) TYPE=MyISAM;

-- --------------------------------------------------------

  `value` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`name`)
) TYPE=MyISAM;

-- --------------------------------------------------------

-- 
-- Table structure for table `userauth`
-- 

CREATE TABLE `userauth` (
  `username` varchar(64) NOT NULL default '',
  `digest` enum('md4','md5','sha1') NOT NULL default 'md4',
  `seed` varchar(20) NOT NULL default '',
  `key` varchar(16) NOT NULL default '',
  `keyIndex` int(11) NOT NULL default '0',
  PRIMARY KEY  (`username`)
) TYPE=MyISAM;
