Fixed --disable-scripting build
[clinton/bobotpp.git] / source / UserList.C
index b2f75a6..ef2d21f 100644 (file)
 
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+// 02110-1301, USA.
 
+#include <cstdlib>
 #include <fstream>
 #include <iostream>
 
@@ -73,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++;
     }