Fixed --disable-scripting build
[clinton/bobotpp.git] / source / UserList.C
index b1038d0..ef2d21f 100644 (file)
@@ -17,6 +17,7 @@
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 // 02110-1301, USA.
 
+#include <cstdlib>
 #include <fstream>
 #include <iostream>
 
@@ -74,9 +75,9 @@ UserList::read()
          password = "";
        }
       
-      l.push_back(new UserListItem(mask, maskChannel, atoi(level),
-                                  atoi(prot), atoi(aop),
-                                  atol(expiration), password));
+      l.push_back(new UserListItem(mask, maskChannel, std::atoi(level),
+                                  std::atoi(prot), std::atoi(aop),
+                                  std::atol(expiration), password));
       line++;
     }