/[weechat]/weechat/src/plugins/scripts/ruby/weechat-ruby.c
ViewVC logotype

Diff of /weechat/src/plugins/scripts/ruby/weechat-ruby.c

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

revision 1.3 by flashcode, Tue Oct 25 17:37:13 2005 UTC revision 1.4 by flashcode, Fri Oct 28 07:31:21 2005 UTC
# Line 57  weechat_ruby_exec (t_weechat_plugin *plu Line 57  weechat_ruby_exec (t_weechat_plugin *plu
57      (void) arguments;      (void) arguments;
58            
59      /* TODO: exec Ruby script */      /* TODO: exec Ruby script */
60      return 0;      return PLUGIN_RC_OK;
61  }  }
62    
63  /*  /*
# Line 72  weechat_ruby_handler (t_weechat_plugin * Line 72  weechat_ruby_handler (t_weechat_plugin *
72      /* make gcc happy */      /* make gcc happy */
73      (void) command;      (void) command;
74            
75      weechat_ruby_exec (plugin, (t_plugin_script *)handler_pointer,      return weechat_ruby_exec (plugin, (t_plugin_script *)handler_pointer,
76                         handler_args, server, arguments);                                handler_args, server, arguments);
     return 1;  
77  }  }
78    
79  /*  /*
# Line 962  weechat_plugin_init (t_weechat_plugin *p Line 961  weechat_plugin_init (t_weechat_plugin *p
961            
962      weechat_script_auto_load (plugin, "ruby", weechat_ruby_load);      weechat_script_auto_load (plugin, "ruby", weechat_ruby_load);
963            
964      return 1;      /* init ok */
965        return PLUGIN_RC_OK;
966  }  }
967    
968  /*  /*

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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