]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE> [IRCServices] Hostserv for IRCServices 5.1.2 | |
5 | </TITLE> | |
6 | <LINK REL="Index" HREF="index.html" > | |
7 | <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Hostserv%20for%20IRCServices%205.1.2&In-Reply-To=4719F355.7030306%40winbot.co.uk"> | |
8 | <META NAME="robots" CONTENT="index,nofollow"> | |
9 | <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> | |
10 | <LINK REL="Previous" HREF="005506.html"> | |
11 | <LINK REL="Next" HREF="005504.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices] Hostserv for IRCServices 5.1.2</H1> | |
15 | <B>Luniz</B> | |
16 | <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Hostserv%20for%20IRCServices%205.1.2&In-Reply-To=4719F355.7030306%40winbot.co.uk" | |
17 | TITLE="[IRCServices] Hostserv for IRCServices 5.1.2">gluniz at luniz.dyndns.org | |
18 | </A><BR> | |
19 | <I>Sat Oct 20 10:50:21 PDT 2007</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="005506.html">[IRCServices] Hostserv for IRCServices 5.1.2 | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="005504.html">[IRCServices] Services 5.1.2 released | |
24 | </A></li> | |
25 | <LI> <B>Messages sorted by:</B> | |
26 | <a href="date.html#5507">[ date ]</a> | |
27 | <a href="thread.html#5507">[ thread ]</a> | |
28 | <a href="subject.html#5507">[ subject ]</a> | |
29 | <a href="author.html#5507">[ author ]</a> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE>Here is what I have done so far to correct the errors. | |
35 | ||
36 | Errors when trying to compile: | |
37 | ||
38 | modules/misc/hostserv.c:391:48: error: macro "call_callback_2" passed 4 | |
39 | arguments, but takes just 3 | |
40 | modules/misc/hostserv.c: In function do_privmsg: | |
41 | modules/misc/hostserv.c:391: error: call_callback_2 undeclared (first use in | |
42 | this function) | |
43 | modules/misc/hostserv.c:391: error: (Each undeclared identifier is reported | |
44 | only once | |
45 | modules/misc/hostserv.c:391: error: for each function it appears in.) | |
46 | ||
47 | modules/misc/hostserv.c: At top level: | |
48 | modules/misc/hostserv.c:418: error: redefinition of module_version | |
49 | ./modules.h:261: error: previous definition of module_version was here | |
50 | ||
51 | modules/misc/hostserv.c:454: error: conflicting types for init_module | |
52 | ./modules.h:205: error: previous declaration of init_module was here | |
53 | ||
54 | modules/misc/hostserv.c:471:52: error: macro "register_callback" passed 2 | |
55 | arguments, but takes just 1 | |
56 | modules/misc/hostserv.c: In function init_module: | |
57 | modules/misc/hostserv.c:471: error: register_callback undeclared (first use | |
58 | in this function) | |
59 | ||
60 | modules/misc/hostserv.c:511:47: error: macro "unregister_callback" passed 2 | |
61 | arguments, but takes just 1 | |
62 | modules/misc/hostserv.c: In function exit_module: | |
63 | modules/misc/hostserv.c:511: error: unregister_callback undeclared (first | |
64 | use in this function) | |
65 | ||
66 | Changes I have made: | |
67 | ||
68 | From: | |
69 | if (call_callback_2(module, cb_command, u, cmd) <= 0) | |
70 | To: | |
71 | if (call_callback_2(cb_command, u, cmd) <= 0) | |
72 | ||
73 | From: | |
74 | cb_command = register_callback(module, "command"); | |
75 | To: | |
76 | cb_command = register_callback("command"); | |
77 | ||
78 | From: | |
79 | unregister_callback(module, cb_command); | |
80 | To: | |
81 | unregister_callback(cb_command); | |
82 | ||
83 | From: | |
84 | const int32 module_version = MODULE_VERSION_CODE; | |
85 | To: | |
86 | /* const int32 module_version = MODULE_VERSION_CODE; */ | |
87 | ||
88 | From: | |
89 | unregister_callback(module, cb_command); | |
90 | To: | |
91 | unregister_callback(cb_command); | |
92 | ||
93 | Errors left: | |
94 | ||
95 | modules/misc/hostserv.c:454: error: conflicting types for init_module | |
96 | ./modules.h:205: error: previous declaration of init_module was here | |
97 | ||
98 | ||
99 | -----Original Message----- | |
100 | From: <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">ircservices-bounces at ircservices.za.net</A> | |
101 | [mailto:<A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">ircservices-bounces at ircservices.za.net</A>] On Behalf Of Craig Edwards | |
102 | Sent: Saturday, October 20, 2007 8:24 AM | |
103 | To: IRC Services General Mailing List | |
104 | Subject: Re: [IRCServices] Hostserv for IRCServices 5.1.2 | |
105 | ||
106 | If you are using the chatspike hostserv, by me or by w00t (Robin | |
107 | Burchell) there is no updated version for ircservices 5.1 yet. (mainly | |
108 | because we dont use it) | |
109 | ||
110 | How difficult does it look to port it? | |
111 | ||
112 | --Brain | |
113 | ||
114 | Luniz wrote: | |
115 | ><i> I have just updated from ircservices-5.0.60 to ircservices-5.1.2 and | |
116 | </I>><i> the hostserv module that I was using isnt compatible. Does anyone | |
117 | </I>><i> know if an updated version has been made, and if so where to get it? | |
118 | </I>><i> | |
119 | </I>><i> ------------------------------------------------------------------ | |
120 | </I>><i> To unsubscribe or change your subscription options, visit: | |
121 | </I>><i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A> | |
122 | </I>------------------------------------------------------------------ | |
123 | To unsubscribe or change your subscription options, visit: | |
124 | <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A> | |
125 | ||
126 | </PRE> | |
127 | ||
128 | <!--endarticle--> | |
129 | <HR> | |
130 | <P><UL> | |
131 | <!--threads--> | |
132 | <LI>Previous message: <A HREF="005506.html">[IRCServices] Hostserv for IRCServices 5.1.2 | |
133 | </A></li> | |
134 | <LI>Next message: <A HREF="005504.html">[IRCServices] Services 5.1.2 released | |
135 | </A></li> | |
136 | <LI> <B>Messages sorted by:</B> | |
137 | <a href="date.html#5507">[ date ]</a> | |
138 | <a href="thread.html#5507">[ thread ]</a> | |
139 | <a href="subject.html#5507">[ subject ]</a> | |
140 | <a href="author.html#5507">[ author ]</a> | |
141 | </LI> | |
142 | </UL> | |
143 | ||
144 | </body></html> |