Hi. I'm writing a Perl bot and testing it on my server (running UnrealIRCD 3.2.7 on Debian Lenny), and for some reason, the bot isn't getting the End of MOTD event from the server.
I've tested said script on another server and it seems to be working fine, so I was just wondering if there's something up with UnrealIRCD, or what.
Any assistance would be greatly appreciated.
Event '376' (End of MOTD) not getting sent?
-
misutowolf
- Posts: 2
- Joined: Sun Jun 08, 2008 3:19 pm
-
misutowolf
- Posts: 2
- Joined: Sun Jun 08, 2008 3:19 pm
Re: Event '376' (End of MOTD) not getting sent?
Yeah...I feel quite stupid. Apparently I was under the assumption that Unreal had a default MOTD already there (ircd.motd), but it didn't.
I had no MOTD for the server to send, so OBVIOUSLY the event wasn't being sent/triggered. Now that I've written one, everything works great!
I had no MOTD for the server to send, so OBVIOUSLY the event wasn't being sent/triggered. Now that I've written one, everything works great!
Re: Event '376' (End of MOTD) not getting sent?
As an idea, if you're using the end of MOTD numeric response as a signal that you're bot is fully connected, try using numeric 005 instead, as that is sent on nearly all if not all IRCd's ONLY after successful connection but regardless of MOTD state. Well 001 to 005 should be alright, but 005 to be sure.
Your IP: 
Your Country:

Your Country:

-
Stealth
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
Re: Event '376' (End of MOTD) not getting sent?
Or look for the LUSERS numerics.