[NeoStats-Devel] [Commits] r2690 - in trunk: include src
[email protected] Tue, 9 Aug 2005 14:24:07 +1000
| Newsgroups | gmane.comp.neostats.devel |
|---|---|
| Message-ID | <[email protected]> |
Author: Fish
Date: Tue Aug 9 12:24:03 2005
New Revision: 2690
Modified:
trunk/include/neostats.h
trunk/include/perlmod.h
trunk/src/perl.c
Log:
fix a few warnings
Modified: trunk/include/neostats.h
==============================================================================
--- trunk/include/neostats.h (original)
+++ trunk/include/neostats.h Tue Aug 9 12:24:03 2005
@@ -1227,6 +1227,7 @@
EXPORTFUNC int irc_globops( const Bot *botptr, const char *fmt, ...) __attribute__((format(printf,2,3))); /* 2=format 3=params */
EXPORTFUNC int irc_wallops( const Bot *botptr, const char *fmt, ...) __attribute__((format(printf,2,3))); /* 2=format 3=params */
EXPORTFUNC int irc_numeric( const int numeric, const char *target, const char *data, ...) __attribute__((format(printf,3,4))); /* 3=format 4=params */
+EXPORTFUNC int irc_smo( const char *source, const char *umodetarget, const char *msg );
/* General irc actions for join/part channels etc
*/
Modified: trunk/include/perlmod.h
==============================================================================
--- trunk/include/perlmod.h (original)
+++ trunk/include/perlmod.h Tue Aug 9 12:24:03 2005
@@ -60,5 +60,8 @@
void unload_perlmod(Module *mod);
void ns_cmd_modperlist(CmdParams *cmd);
Module *load_perlmodule(const char *filename, Client *u);
+int perl_sync_module(Module *mod);
+int perl_event_cb(Event evt, CmdParams *cmdparams, Module *mod_ptr);
+
#endif /* _PERLMOD_H_ */
Modified: trunk/src/perl.c
==============================================================================
--- trunk/src/perl.c (original)
+++ trunk/src/perl.c Tue Aug 9 12:24:03 2005
@@ -1295,7 +1295,7 @@
} else {
bot = FindBot(SvPV_nolen(ST(0)));
if (bot) {
- XSRETURN_UV(irc_smo(bot, SvPV_nolen(ST(1)), SvPV_nolen(ST(2))));
+ XSRETURN_UV(irc_smo(bot->name, SvPV_nolen(ST(1)), SvPV_nolen(ST(2))));
}
}