Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: SWHOIS request...  (Read 4329 times)

0 Members and 1 Guest are viewing this topic.

Pewny

  • Guest
SWHOIS request...
« on: July 05, 2006, 11:57:36 PM »

I found module that add swhois command to the operserv, but it is for linux... I'm using anope 1.7.14 on... Windows and UnrealIRCD 3.2.3. If somebody can compile this to a windows version, and tell me how to install it (i'm new at this...).
http://www.anope.org/modules/addon.c

[Edited on 6-7-2006 by Pewny]
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #1 on: July 07, 2006, 08:34:40 AM »

hello Pewny, here is addon.dll compiled for you :D

but, since compiler is complaining about AnopeFini i change the code a little.

Quote

addon.c
LINK : error LNK2001: unresolved external symbol AnopeFini
addon.lib : fatal error LNK1120: 1 unresolved externals

i added this code
Code: [Select]
void AnopeFini(void)
{
alog("module \2addon.dll\2 unloaded.");
}


and also since the OperServ Help header does not include a Helpop info, i also changed that to
Code: [Select]
void help_operserv(User *u)
{
    notice(s_OperServ, u->nick, "    SWHOIS      Adminstrate the SWHOIS");
    notice(s_OperServ, u->nick, "    HELPOP      Adminstrate the Help Operator");
};


You can download addon.dll from HERE

For loading this module, put addon.dll inside your anope-1.7.x/data/modules folder and from IRC type
/msg OperServ modload addon

have fun enjoying the module :D

[Edited on 7-7-2006 by n00bie]

[Edited on 7-7-2006 by n00bie]
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

Pewny

  • Guest
(No subject)
« Reply #2 on: July 11, 2006, 08:21:35 PM »

THX man, finally my Network have this little thing^^
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #3 on: July 12, 2006, 09:51:01 AM »

Your welcome :D
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.
Pages: [1]   Go Up