/[weechat]/weechat/src/irc/irc-send.c
ViewVC logotype

Diff of /weechat/src/irc/irc-send.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by flashcode, Sat Oct 25 14:49:19 2003 UTC revision 1.7 by flashcode, Sun Oct 26 13:21:09 2003 UTC
# Line 19  Line 19 
19   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20   */   */
21    
   
22  /* irc-send.c: implementation of IRC commands (client to server),  /* irc-send.c: implementation of IRC commands (client to server),
23                 according to RFC 1459,2810,2811,2812 */                 according to RFC 1459,2810,2811,2812 */
24    
25    
26    #ifdef HAVE_CONFIG_H
27    #include "config.h"
28    #endif
29    
30  #include <stdlib.h>  #include <stdlib.h>
31  #include <unistd.h>  #include <unistd.h>
32  #include <stdio.h>  #include <stdio.h>
# Line 35  Line 38 
38  #include "../common/weechat.h"  #include "../common/weechat.h"
39  #include "irc.h"  #include "irc.h"
40  #include "../common/command.h"  #include "../common/command.h"
41  #include "../common/config.h"  #include "../common/weeconfig.h"
42  #include "../gui/gui.h"  #include "../gui/gui.h"
43    
44    
# Line 57  irc_login (t_irc_server *server) Line 60  irc_login (t_irc_server *server)
60          strcpy (hostname, _("unknown"));          strcpy (hostname, _("unknown"));
61      gui_printf (server->window,      gui_printf (server->window,
62                  _("%s: using local hostname \"%s\"\n"),                  _("%s: using local hostname \"%s\"\n"),
63                  WEECHAT_NAME, hostname);                  PACKAGE_NAME, hostname);
64      server_sendf (server,      server_sendf (server,
65                    "NICK %s\r\n"                    "NICK %s\r\n"
66                    "USER %s %s %s :%s\r\n",                    "USER %s %s %s :%s\r\n",
# Line 973  irc_cmd_send_version (t_irc_server *serv Line 976  irc_cmd_send_version (t_irc_server *serv
976      {      {
977          irc_display_prefix (server->window, PREFIX_INFO);          irc_display_prefix (server->window, PREFIX_INFO);
978          gui_printf (server->window, _("%s, compiled on %s %s\n"),          gui_printf (server->window, _("%s, compiled on %s %s\n"),
979                      WEECHAT_NAME_AND_VERSION,                      PACKAGE_STRING,
980                      __DATE__, __TIME__);                      __DATE__, __TIME__);
981          server_sendf (server, "VERSION\r\n");          server_sendf (server, "VERSION\r\n");
982      }      }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26