Talk:ServerList

From Mibbit Wiki
Revision as of 03:33, 3 May 2008 by OUTsider (talk | contribs)
Jump to: navigation, search

If you'd modify mibbit to send the hostname using the USER token then you could also add irc.scarynet.org. Below is the way I implemented cgiirc support, and this can also be used by mibbit. (Sending the USER token the below way is doing it the right way anyways). most ircd's ignore the hostname parameter since they perform there own resolving. So I reused this to transfer the host of the connecting client between a webchat and the ircd in combination with a so-called W:Line (webchat). Your ip has been added to that list.

/*

* m_user
*
* parv[0] = sender prefix
* parv[1] = username           (login name, account)
* parv[2] = host name          (hostname if webchat)
* parv[3] = server name        (ignored)
* parv[4] = users real name info
*/