Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: ircd_ctcpversion.c  (Read 5437 times)

0 Members and 1 Guest are viewing this topic.

Cihan

  • Guest
ircd_ctcpversion.c
« on: July 28, 2006, 09:25:50 PM »

the setting in file

#define TIME_TO_WAIT_BEFORE_CTCP 5s


is not working.

i am writing 100s or 1m

it always check the user when the user enters.
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #1 on: July 28, 2006, 09:34:23 PM »

I suggest you have a look at "#define CTCP_INSTANTLY" in the same module.

I dont know much about C programming but chaning it to "#undefine CTCP_INSTANTLY" should work

[Edited on 28-7-2006 by Jobe1986]
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

katsklaw

  • Guest
(No subject)
« Reply #2 on: July 28, 2006, 09:47:17 PM »

#undef .. not #undefine
Logged

Cihan

  • Guest
(No subject)
« Reply #3 on: July 28, 2006, 09:53:59 PM »

thank you
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #4 on: July 28, 2006, 10:18:53 PM »

Quote
Originally posted by katsklaw
#undef .. not #undefine


Told you i didnt really know C. At least i was along the right lines though. :P
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #5 on: July 29, 2006, 03:00:21 PM »

you could also simply just comment the line out. but yeah its #undef if you use that
Pages: [1]   Go Up