Changes as per last lecture
Threads added
More threads
Added to handle NICK
usleep added to main method
new fuction registration_check added ro check for user registrations
registration timeout increased after user has registered
Message lock added to only allow 1 thread access at the time
started implementation of message log
working with the log
more in message log read, added sender
Timeout issue fixed
PRIVMSG handle implemented
Improved PRIVMSG
PRIVMSG improved
check for valid nickname added again
fixed few complilation warnings
Way of init threads changed as it was not working before
New fuction parse_line created to parse elemnents of PRIVMSG
Implementation to handle line added, also, some references to the file descriptor updated