added some code
[NextIRCd.git] / src / ircd_users.c
index 8e5b39f5a5cc771afc361953107b979481ce13b9..9faaacd2d9bfb1f9a30b0e5c21c5aeb6dbc46acc 100644 (file)
@@ -14,9 +14,6 @@
  * You should have received a copy of the GNU General Public License 
  * along with this program. If not, see <http://www.gnu.org/licenses/>. 
  */
-
-#include <time.h>
-
 #include "struct_user.h"
 
 struct UserDictEntry {
@@ -29,9 +26,13 @@ struct UserDict {
        struct UserDictEntry *users[65536]; // 2^16  (first 16 bit of nickhash as identifier)
 };
 
-
 void find_user_by_nick(char *nick) {
        //calculate checksum
        //search in UserDict
        //ask trusted server multicast
 }
+
+int is_nick_valid(char *nick) {
+       
+}
+